Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001742, allocations: 196.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.1 MB / 0.7104 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 67.88 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5952, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02415/0.6194, allocations: 22.6 MB / 1.039 GB, free: 11.8 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01035/0.6298, allocations: 6.233 MB / 1.046 GB, free: 5.559 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.632, allocations: 99.5 kB / 1.046 GB, free: 5.461 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004074/0.6361, allocations: 1.527 MB / 1.047 GB, free: 3.926 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004091/0.6402, allocations: 1.622 MB / 1.049 GB, free: 2.297 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003383/0.6436, allocations: 1.356 MB / 1.05 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006344/0.65, allocations: 5.943 MB / 1.056 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007504/0.6575, allocations: 6.09 MB / 1.062 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.6608, allocations: 2.411 MB / 1.064 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003902/0.6647, allocations: 2.859 MB / 1.067 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0009791/0.6657, allocations: 456 kB / 1.067 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.6679, allocations: 1.108 MB / 1.068 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001716/0.6696, allocations: 2.027 MB / 1.07 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002162/0.6718, allocations: 2.163 MB / 1.073 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005924/0.6777, allocations: 7.245 MB / 1.08 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6778, allocations: 0 / 1.08 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.178e-06/0.6778, allocations: 0 / 1.08 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001151/0.6779, allocations: 7.938 kB / 1.08 GB, free: 2.496 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006492/0.6844, allocations: 3.816 MB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6844, allocations: 12.03 kB / 1.083 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005972/0.685, allocations: 0.4976 MB / 1.084 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005905/0.691, allocations: 1.21 MB / 1.085 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00374/0.6947, allocations: 2.223 MB / 1.087 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.6949, allocations: 238.4 kB / 1.087 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004961/0.6954, allocations: 315.9 kB / 1.088 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009353/0.7047, allocations: 6.216 MB / 1.094 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.86e-05/0.7049, allocations: 15.84 kB / 1.094 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000403/0.7053, allocations: 139.9 kB / 1.094 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004681/0.7057, allocations: 406.3 kB / 1.094 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007813/0.7136, allocations: 4.666 MB / 1.099 GB, free: 14.36 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02976/0.7433, allocations: 29.14 MB / 1.127 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.7453, allocations: 1.416 MB / 1.129 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.7471, allocations: 1.495 MB / 1.13 GB, free: 11.58 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.391e-05/0.7472, allocations: 9 kB / 1.13 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.7473, allocations: 51.5 kB / 1.13 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 3.216e-06/0.7473, allocations: 0 / 1.13 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1466/0.8939, allocations: 37.23 MB / 1.167 GB, free: 6.207 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.894, allocations: 73.34 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.8961, allocations: 1.419 MB / 1.168 GB, free: 4.699 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.8963, allocations: 53.7 kB / 1.168 GB, free: 4.641 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008747/0.8972, allocations: 1.542 MB / 1.17 GB, free: 3.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005479/0.8977, allocations: 0.6162 MB / 1.17 GB, free: 2.453 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007067/0.8984, allocations: 379.3 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.401e-05/0.8985, allocations: 309.1 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002436/0.901, allocations: 1.78 MB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/0.9038, allocations: 2.35 MB / 1.175 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/0.9093, allocations: 4.387 MB / 1.179 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/0.9093, allocations: 4 kB / 1.179 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01777/0.9271, allocations: 8.559 MB / 1.188 GB, free: 156 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.9272, allocations: 12 kB / 1.188 GB, free: 144 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.9272, allocations: 23.94 kB / 1.188 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01474/0.9419, allocations: 4.668 MB / 1.192 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.9431, allocations: 299.5 kB / 1.192 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04739/0.9905, allocations: 32.62 MB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002544/0.9931, allocations: 151.8 kB / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000405/0.9935, allocations: 83.98 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002312/0.9959, allocations: 1.334 MB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005845/0.9965, allocations: 197.7 kB / 1.226 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.014, allocations: 8.437 MB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/1.014, allocations: 24.23 kB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.736e-05/1.014, allocations: 27.94 kB / 1.234 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.309e-05/1.014, allocations: 11.97 kB / 1.234 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.038, allocations: 12.83 MB / 1.247 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.038, allocations: 12.16 kB / 1.247 GB, free: 2.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007539/1.039, allocations: 167.7 kB / 1.247 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4612/1.5, allocations: 4.515 MB / 1.251 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002669/1.501, allocations: 37.47 kB / 1.251 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04607/1.547, allocations: 32.21 MB / 1.283 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/1.547, allocations: 11.72 kB / 1.283 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/1.561, allocations: 8.236 MB / 1.291 GB, free: 194.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.563, allocations: 0.6192 MB / 1.292 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/1.563, allocations: 42.86 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/1.564, allocations: 136.2 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007848/1.565, allocations: 178.2 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001299/1.565, allocations: 45.41 kB / 1.292 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001015/1.566, allocations: 0.9569 MB / 1.293 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.566, allocations: 0 / 1.293 GB, free: 194.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002746/1.569, allocations: 1.118 MB / 1.294 GB, free: 194 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01453/1.584, allocations: 8.835 MB / 1.303 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01185/1.596, allocations: 7.069 MB / 1.31 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/1.596, allocations: 4 kB / 1.31 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008377/1.604, allocations: 4.354 MB / 1.314 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/1.607, allocations: 0.5281 MB / 1.314 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05261/1.659, allocations: 35.22 MB / 1.349 GB, free: 139.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/1.662, allocations: 2.723 MB / 1.351 GB, free: 136.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001006/1.663, allocations: 392.5 kB / 1.352 GB, free: 136.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.664, allocations: 1.21 MB / 1.353 GB, free: 135 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.664, allocations: 4 kB / 1.353 GB, free: 135 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1492/1.813, allocations: 82.84 MB / 1.434 GB, free: 52.68 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/12.69, allocations: 6.609 kB / 1.434 GB, free: 52.68 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches