Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001667/0.001667, 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.001559/0.001559, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.316/1.316, 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 11.0.1-master/package.mo): time 2.658/2.658, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 62.84 kB / 0.9083 GB, free: 34.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2969, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04075/0.3377, allocations: 34.84 MB / 1.098 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02031/0.3581, allocations: 11.5 MB / 1.109 GB, free: 76 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003442/0.3616, allocations: 159.3 kB / 1.109 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01083/0.3724, allocations: 4.264 MB / 1.113 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005975/0.3784, allocations: 1.99 MB / 1.115 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006221/0.3847, allocations: 2.396 MB / 1.118 GB, free: 7.25 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.3952, allocations: 8.468 MB / 1.126 GB, free: 14.76 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01758/0.4128, allocations: 11.21 MB / 1.137 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005629/0.4185, allocations: 3.728 MB / 1.14 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006165/0.4247, allocations: 4.186 MB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002251/0.427, allocations: 0.7773 MB / 1.145 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.4322, allocations: 2.024 MB / 1.147 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004379/0.4366, allocations: 3.06 MB / 1.15 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006402/0.4431, allocations: 3.396 MB / 1.154 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0152/0.4583, allocations: 11.91 MB / 1.165 GB, free: 6.277 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.4583, allocations: 4 kB / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4583, allocations: 0 / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003296/0.4587, allocations: 0 / 1.165 GB, free: 6.273 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01414/0.4728, allocations: 5.791 MB / 1.171 GB, free: 420 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4729, allocations: 12.03 kB / 1.171 GB, free: 408 kB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00206/0.475, allocations: 0.809 MB / 1.172 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006315/0.4813, allocations: 1.056 MB / 1.173 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005904/0.4872, allocations: 3.266 MB / 1.176 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003176/0.4875, allocations: 411.5 kB / 1.176 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.4889, allocations: 0.5354 MB / 1.177 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01614/0.505, allocations: 9.083 MB / 1.186 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001794/0.5052, allocations: 31.62 kB / 1.186 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000908/0.5061, allocations: 236 kB / 1.186 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003499/0.5065, allocations: 350.8 kB / 1.186 GB, free: 252 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.5187, allocations: 6.83 MB / 1.193 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04325/0.562, allocations: 40.1 MB / 1.232 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/0.5659, allocations: 3.113 MB / 1.235 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002607/0.5686, allocations: 1.97 MB / 1.237 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.5687, allocations: 18 kB / 1.237 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.5687, allocations: 52.56 kB / 1.237 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=179): time 3.857e-06/0.5688, allocations: 0 / 1.237 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of matching and sorting (n=182): time 0.5544/1.123, allocations: 9.976 MB / 1.247 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/1.123, allocations: 75.47 kB / 1.247 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/1.126, allocations: 1.528 MB / 1.248 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/1.126, allocations: 55.48 kB / 1.248 GB, free: 166.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001067/1.127, allocations: 2.259 MB / 1.251 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000527/1.128, allocations: 0.6294 MB / 1.251 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007445/1.128, allocations: 409.3 kB / 1.252 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.837e-05/1.128, allocations: 301.1 kB / 1.252 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/1.13, allocations: 1.177 MB / 1.253 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001764/1.132, allocations: 1.884 MB / 1.255 GB, free: 164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0036/1.136, allocations: 3.371 MB / 1.258 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/1.136, allocations: 5.25 kB / 1.258 GB, free: 162.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007455/1.143, allocations: 4.583 MB / 1.263 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/1.143, allocations: 14.16 kB / 1.263 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-05/1.143, allocations: 22.44 kB / 1.263 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/1.147, allocations: 1.595 MB / 1.264 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/1.149, allocations: 355.4 kB / 1.265 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/1.172, allocations: 18.6 MB / 1.283 GB, free: 149.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.174, allocations: 118 kB / 1.283 GB, free: 149.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/1.174, allocations: 102.6 kB / 1.283 GB, free: 149.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002786/1.177, allocations: 1.894 MB / 1.285 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/1.177, allocations: 225.8 kB / 1.285 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006595/1.184, allocations: 4.09 MB / 1.289 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.184, allocations: 22.06 kB / 1.289 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.225e-05/1.184, allocations: 16.62 kB / 1.289 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/1.184, allocations: 13.34 kB / 1.289 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/1.198, allocations: 9.473 MB / 1.298 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.289e-05/1.198, allocations: 3.969 kB / 1.298 GB, free: 142.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007796/1.199, allocations: 186.2 kB / 1.299 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003084/1.202, allocations: 1.362 MB / 1.3 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.202, allocations: 35.75 kB / 1.3 GB, free: 141.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/1.22, allocations: 17.35 MB / 1.317 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.22, allocations: 15.67 kB / 1.317 GB, free: 129.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006213/1.226, allocations: 4.068 MB / 1.321 GB, free: 126.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/1.228, allocations: 0.5217 MB / 1.321 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004638/1.228, allocations: 39.98 kB / 1.321 GB, free: 125.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/1.229, allocations: 87.91 kB / 1.321 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004633/1.23, allocations: 165.6 kB / 1.322 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.23, allocations: 46.75 kB / 1.322 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001446/1.231, allocations: 1.008 MB / 1.323 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.231, allocations: 0.75 kB / 1.323 GB, free: 124.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003142/1.234, allocations: 0.9883 MB / 1.324 GB, free: 123.6 MB / 0.9981 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00571/1.24, allocations: 4.663 MB / 1.328 GB, free: 118.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00722/1.247, allocations: 5.197 MB / 1.333 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/1.247, allocations: 4.656 kB / 1.333 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003552/1.251, allocations: 2.673 MB / 1.336 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/1.255, allocations: 0.7754 MB / 1.337 GB, free: 110.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03835/1.293, allocations: 28.66 MB / 1.365 GB, free: 79.49 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004995/1.298, allocations: 3.576 MB / 1.368 GB, free: 75.88 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001445/1.299, allocations: 464 kB / 1.369 GB, free: 75.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/1.301, allocations: 1.788 MB / 1.37 GB, free: 73.65 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/1.301, allocations: 0 / 1.37 GB, free: 73.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1043/1.406, allocations: 72.46 MB / 1.441 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/11.85, allocations: 25.23 kB / 1.441 GB, free: 1.863 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches