Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.0008907/0.0008907, allocations: 91.84 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006675/0.006676, allocations: 169.4 kB / 16.26 MB, free: 6.68 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.594/2.594, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 8.719 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3567, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02095/0.3777, allocations: 19.5 MB / 1.078 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01154/0.3893, allocations: 6.38 MB / 1.084 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002505/0.3918, allocations: 75.56 kB / 1.084 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.3935, allocations: 400.9 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003351/0.3969, allocations: 1.12 MB / 1.086 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002628/0.3995, allocations: 1.075 MB / 1.087 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007244/0.4068, allocations: 6.972 MB / 1.093 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.4175, allocations: 7.264 MB / 1.101 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.4204, allocations: 1.494 MB / 1.102 GB, free: 8.398 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.4232, allocations: 2.024 MB / 1.104 GB, free: 6.367 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003212/0.4236, allocations: 180 kB / 1.104 GB, free: 6.191 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.4252, allocations: 0.9202 MB / 1.105 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.4265, allocations: 1.348 MB / 1.106 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.428, allocations: 1.572 MB / 1.108 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.4334, allocations: 6.21 MB / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4334, allocations: 0 / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.565e-06/0.4334, allocations: 0 / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001174/0.4336, allocations: 0 / 1.114 GB, free: 12.1 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004961/0.4385, allocations: 2.82 MB / 1.117 GB, free: 9.219 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4386, allocations: 11.97 kB / 1.117 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005746/0.4392, allocations: 454.6 kB / 1.117 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.4422, allocations: 0.6449 MB / 1.118 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002865/0.4451, allocations: 1.936 MB / 1.12 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.4453, allocations: 230.2 kB / 1.12 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004326/0.4457, allocations: 292.1 kB / 1.12 GB, free: 5.594 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007044/0.4528, allocations: 4.886 MB / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.759e-05/0.4529, allocations: 15.84 kB / 1.125 GB, free: 0.4922 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002877/0.4532, allocations: 132 kB / 1.125 GB, free: 372 kB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003891/0.4535, allocations: 229.7 kB / 1.125 GB, free: 140 kB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/0.4591, allocations: 3.754 MB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0212/0.4803, allocations: 21.61 MB / 1.15 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.4821, allocations: 1.308 MB / 1.151 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.4835, allocations: 1.034 MB / 1.152 GB, free: 2.402 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.585e-05/0.4836, allocations: 13 kB / 1.152 GB, free: 2.391 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.4836, allocations: 51.55 kB / 1.152 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=107): time 4.379e-06/0.4837, allocations: 0 / 1.152 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of matching and sorting (n=138): time 0.02338/0.507, allocations: 8.711 MB / 1.161 GB, free: 9.559 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.5071, allocations: 76.59 kB / 1.161 GB, free: 9.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.5085, allocations: 1.13 MB / 1.162 GB, free: 8.336 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.242e-05/0.5086, allocations: 49.7 kB / 1.162 GB, free: 8.281 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/0.5093, allocations: 1.296 MB / 1.163 GB, free: 6.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003677/0.5097, allocations: 485 kB / 1.164 GB, free: 6.488 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001795/0.5099, allocations: 133.6 kB / 1.164 GB, free: 6.352 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001057/0.51, allocations: 305.1 kB / 1.164 GB, free: 6.051 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.5112, allocations: 0.9135 MB / 1.165 GB, free: 5.137 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.5129, allocations: 1.33 MB / 1.167 GB, free: 3.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/0.5162, allocations: 2.422 MB / 1.169 GB, free: 1.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5162, allocations: 4 kB / 1.169 GB, free: 1.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005989/0.5222, allocations: 3.463 MB / 1.172 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5222, allocations: 14.56 kB / 1.172 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5223, allocations: 12 kB / 1.172 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.5254, allocations: 1.177 MB / 1.173 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008415/0.5262, allocations: 263.5 kB / 1.174 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01513/0.5414, allocations: 12.76 MB / 1.186 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.5426, allocations: 91.97 kB / 1.186 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/0.5428, allocations: 67.98 kB / 1.186 GB, free: 14.78 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001762/0.5445, allocations: 1.102 MB / 1.187 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002453/0.5448, allocations: 166.1 kB / 1.188 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/0.5502, allocations: 3.173 MB / 1.191 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.5503, allocations: 12 kB / 1.191 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.5503, allocations: 15.94 kB / 1.191 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.5503, allocations: 11.91 kB / 1.191 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009549/0.5599, allocations: 6.245 MB / 1.197 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.5599, allocations: 4 kB / 1.197 GB, free: 3.879 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005455/0.5605, allocations: 147.8 kB / 1.197 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002738/0.5632, allocations: 1.071 MB / 1.198 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-05/0.5633, allocations: 32 kB / 1.198 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/0.5775, allocations: 12.45 MB / 1.21 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.5775, allocations: 8 kB / 1.21 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004882/0.5824, allocations: 3.15 MB / 1.213 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006983/0.5832, allocations: 434.9 kB / 1.214 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/0.5833, allocations: 28 kB / 1.214 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007412/0.5841, allocations: 87.83 kB / 1.214 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.5844, allocations: 132.7 kB / 1.214 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.501e-05/0.5845, allocations: 36 kB / 1.214 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009144/0.5854, allocations: 0.7632 MB / 1.215 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.623e-06/0.5854, allocations: 0 / 1.215 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001688/0.5871, allocations: 0.6679 MB / 1.215 GB, free: 392 kB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004905/0.592, allocations: 3.728 MB / 1.219 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004369/0.5964, allocations: 3.139 MB / 1.222 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.5964, allocations: 0 / 1.222 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002723/0.5991, allocations: 1.975 MB / 1.224 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/0.602, allocations: 472 kB / 1.224 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/0.6308, allocations: 21.38 MB / 1.245 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4524/1.083, allocations: 2.335 MB / 1.248 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001169/1.084, allocations: 349.8 kB / 1.248 GB, free: 173 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009188/1.085, allocations: 1.01 MB / 1.249 GB, free: 173 MB / 0.9981 GB Notification: Performance of SimCode: time 6.92e-07/1.085, allocations: 3.469 kB / 1.249 GB, free: 173 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3016/1.387, allocations: 49.34 MB / 1.297 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/1.387, allocations: 252.8 kB / 1.297 GB, free: 155.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.935, allocations: 2.672 kB / 1.297 GB, free: 155.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches