Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.0008681/0.000868, allocations: 98.27 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.005046/0.005046, allocations: 169 kB / 16.26 MB, free: 6.652 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.189/1.189, 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.361/2.361, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003706, allocations: 12.62 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2811, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.032/0.3132, allocations: 32.22 MB / 1.09 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.3341, allocations: 14.63 MB / 1.105 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003375/0.3376, allocations: 131.2 kB / 1.105 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.3402, allocations: 0.7249 MB / 1.105 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007415/0.3477, allocations: 2.686 MB / 1.108 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.3522, allocations: 2.001 MB / 1.11 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0142/0.3664, allocations: 12.2 MB / 1.122 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01778/0.3842, allocations: 11.52 MB / 1.133 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006038/0.3903, allocations: 2.961 MB / 1.136 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006158/0.3965, allocations: 3.499 MB / 1.139 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.398, allocations: 296 kB / 1.14 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004607/0.4026, allocations: 1.56 MB / 1.141 GB, free: 140 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00392/0.4066, allocations: 2.291 MB / 1.143 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005804/0.4124, allocations: 2.788 MB / 1.146 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.4245, allocations: 10.66 MB / 1.157 GB, free: 348 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.4246, allocations: 3.938 kB / 1.157 GB, free: 344 kB / 0.9044 GB Notification: Performance of FrontEnd: time 2.896e-06/0.4246, allocations: 0 / 1.157 GB, free: 344 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004019/0.425, allocations: 0 / 1.157 GB, free: 344 kB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01115/0.4361, allocations: 4.829 MB / 1.161 GB, free: 11.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.4362, allocations: 11.97 kB / 1.161 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002146/0.4383, allocations: 0.7271 MB / 1.162 GB, free: 10.68 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007135/0.4455, allocations: 1.149 MB / 1.163 GB, free: 9.523 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007498/0.453, allocations: 3.332 MB / 1.166 GB, free: 6.113 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004626/0.4535, allocations: 370.4 kB / 1.167 GB, free: 5.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.4554, allocations: 499.8 kB / 1.167 GB, free: 5.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01599/0.4714, allocations: 8.001 MB / 1.175 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001236/0.4716, allocations: 19.78 kB / 1.175 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005486/0.4722, allocations: 220 kB / 1.175 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001085/0.4732, allocations: 441.5 kB / 1.176 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.4839, allocations: 6.081 MB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03873/0.5227, allocations: 35.24 MB / 1.216 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.5255, allocations: 2.028 MB / 1.218 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.5277, allocations: 1.85 MB / 1.22 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.243e-05/0.5278, allocations: 21.98 kB / 1.22 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.5279, allocations: 60.45 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=171): time 3.907e-06/0.5279, allocations: 3.938 kB / 1.22 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=276): time 0.6415/1.169, allocations: 39 MB / 1.258 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/1.17, allocations: 80.59 kB / 1.258 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00344/1.173, allocations: 2.275 MB / 1.26 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003486/1.173, allocations: 77.8 kB / 1.26 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001563/1.175, allocations: 2.272 MB / 1.263 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008886/1.176, allocations: 0.9365 MB / 1.264 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/1.176, allocations: 239.4 kB / 1.264 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.369e-05/1.176, allocations: 306.3 kB / 1.264 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003179/1.179, allocations: 1.973 MB / 1.266 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004126/1.184, allocations: 2.604 MB / 1.268 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005862/1.19, allocations: 4.926 MB / 1.273 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/1.19, allocations: 5.406 kB / 1.273 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01352/1.203, allocations: 7.757 MB / 1.281 GB, free: 163 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.203, allocations: 14.66 kB / 1.281 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/1.203, allocations: 17.69 kB / 1.281 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008416/1.212, allocations: 3.218 MB / 1.284 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/1.213, allocations: 396.2 kB / 1.284 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03192/1.245, allocations: 31.18 MB / 1.315 GB, free: 142 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/1.247, allocations: 164.5 kB / 1.315 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002142/1.248, allocations: 112 kB / 1.315 GB, free: 141.8 MB / 0.9981 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002337/1.25, allocations: 1.801 MB / 1.317 GB, free: 140 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/1.25, allocations: 328.2 kB / 1.317 GB, free: 139.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.262, allocations: 7.358 MB / 1.324 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/1.262, allocations: 28 kB / 1.324 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.144e-05/1.262, allocations: 29.22 kB / 1.324 GB, free: 132.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.178e-05/1.262, allocations: 15.95 kB / 1.324 GB, free: 132.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01755/1.28, allocations: 12.94 MB / 1.337 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.186e-05/1.28, allocations: 7.938 kB / 1.337 GB, free: 119.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007849/1.28, allocations: 233 kB / 1.337 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006632/1.287, allocations: 2.848 MB / 1.34 GB, free: 116 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001612/1.287, allocations: 56 kB / 1.34 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03025/1.318, allocations: 29.96 MB / 1.369 GB, free: 85.19 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/1.318, allocations: 11.94 kB / 1.369 GB, free: 85.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/1.328, allocations: 6.892 MB / 1.376 GB, free: 78.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.329, allocations: 0.7821 MB / 1.377 GB, free: 77.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006379/1.33, allocations: 56 kB / 1.377 GB, free: 77.21 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/1.332, allocations: 163.8 kB / 1.377 GB, free: 77.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007248/1.333, allocations: 257.3 kB / 1.377 GB, free: 76.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.333, allocations: 76 kB / 1.377 GB, free: 76.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001848/1.335, allocations: 1.533 MB / 1.379 GB, free: 75.19 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.335, allocations: 0 / 1.379 GB, free: 75.19 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003674/1.338, allocations: 1.371 MB / 1.38 GB, free: 73.82 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009869/1.348, allocations: 7.509 MB / 1.388 GB, free: 66.08 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008815/1.357, allocations: 6.908 MB / 1.394 GB, free: 59.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.357, allocations: 7.031 kB / 1.394 GB, free: 59.09 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005768/1.363, allocations: 4.422 MB / 1.399 GB, free: 54.59 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005825/1.369, allocations: 1.043 MB / 1.4 GB, free: 53.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05353/1.422, allocations: 46.05 MB / 1.445 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/1.425, allocations: 3.639 MB / 1.448 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001628/1.427, allocations: 0.5517 MB / 1.449 GB, free: 0.6055 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/1.429, allocations: 1.987 MB / 1.451 GB, free: 14.66 MB / 1.014 GB Notification: Performance of SimCode: time 2.184e-06/1.429, allocations: 4 kB / 1.451 GB, free: 14.65 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.868/5.297, allocations: 107.9 MB / 1.556 GB, free: 3.988 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/5.297, allocations: 243.4 kB / 1.556 GB, free: 3.738 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/9.024, allocations: 4 kB / 1.556 GB, free: 3.734 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches