Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.005133/0.005133, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001175/0.001175, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.69 kB / 0.9504 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2612, allocations: 140.4 MB / 1.087 GB, free: 2.031 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01696/0.2782, allocations: 14.04 MB / 1.101 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01545/0.2937, allocations: 9.388 MB / 1.11 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/0.2955, allocations: 63.56 kB / 1.11 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.3004, allocations: 1.665 MB / 1.112 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.3053, allocations: 1.591 MB / 1.114 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.3077, allocations: 0.7553 MB / 1.114 GB, free: 6.438 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004177/0.3119, allocations: 2.516 MB / 1.117 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002472/0.3144, allocations: 1.415 MB / 1.118 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.3164, allocations: 1.071 MB / 1.119 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.3185, allocations: 1.14 MB / 1.12 GB, free: 248 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004698/0.319, allocations: 164 kB / 1.12 GB, free: 84 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001804/0.3208, allocations: 0.7877 MB / 1.121 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0008022/0.3216, allocations: 0.6232 MB / 1.122 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.3235, allocations: 0.9407 MB / 1.123 GB, free: 13.72 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.328, allocations: 2.767 MB / 1.125 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.328, allocations: 3.938 kB / 1.125 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3281, allocations: 0 / 1.125 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.746e-05/0.3281, allocations: 0 / 1.125 GB, free: 10.94 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005622/0.3338, allocations: 2.195 MB / 1.128 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3338, allocations: 12.03 kB / 1.128 GB, free: 8.676 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004552/0.3343, allocations: 198.4 kB / 1.128 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.3467, allocations: 2.09 MB / 1.13 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00332/0.35, allocations: 1.303 MB / 1.131 GB, free: 5.02 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.345e-05/0.3501, allocations: 90.72 kB / 1.131 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005137/0.3507, allocations: 119.9 kB / 1.131 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007066/0.3577, allocations: 2.675 MB / 1.134 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/0.3578, allocations: 19.83 kB / 1.134 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.3582, allocations: 59.97 kB / 1.134 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007425/0.3589, allocations: 174.1 kB / 1.134 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008523/0.3674, allocations: 2.795 MB / 1.137 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0179/0.3854, allocations: 10.48 MB / 1.147 GB, free: 3.867 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007324/0.3927, allocations: 2.522 MB / 1.15 GB, free: 1.285 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00355/0.3963, allocations: 1.288 MB / 1.151 GB, free: 15.98 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-05/0.3965, allocations: 12.98 kB / 1.151 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3965, allocations: 47.56 kB / 1.151 GB, free: 15.92 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 3.366e-06/0.3965, allocations: 0 / 1.151 GB, free: 15.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=131): time 0.04806/0.4446, allocations: 13.39 MB / 1.164 GB, free: 2.324 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.4447, allocations: 64.72 kB / 1.164 GB, free: 2.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.4463, allocations: 1.125 MB / 1.165 GB, free: 1.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.4466, allocations: 49.7 kB / 1.165 GB, free: 1.055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005291/0.4471, allocations: 0.7248 MB / 1.166 GB, free: 332 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005481/0.4477, allocations: 472 kB / 1.166 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/0.4483, allocations: 263.5 kB / 1.167 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4484, allocations: 361.9 kB / 1.167 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00352/0.4519, allocations: 1.335 MB / 1.168 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/0.4557, allocations: 1.608 MB / 1.17 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007369/0.4631, allocations: 2.987 MB / 1.173 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.4632, allocations: 4 kB / 1.173 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01227/0.4755, allocations: 4.455 MB / 1.177 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.4755, allocations: 12.16 kB / 1.177 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.4756, allocations: 8 kB / 1.177 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005587/0.4811, allocations: 1.427 MB / 1.179 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.4834, allocations: 443.2 kB / 1.179 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02796/0.5114, allocations: 26.69 MB / 1.205 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002672/0.5141, allocations: 311.5 kB / 1.205 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.5144, allocations: 67.95 kB / 1.205 GB, free: 5.785 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009702/0.5154, allocations: 433.5 kB / 1.206 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004706/0.5158, allocations: 171 kB / 1.206 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01266/0.5285, allocations: 4.453 MB / 1.21 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.5286, allocations: 12 kB / 1.21 GB, free: 0.6641 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-05/0.5286, allocations: 12.11 kB / 1.21 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.5287, allocations: 11.91 kB / 1.21 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.5451, allocations: 6.752 MB / 1.217 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.5452, allocations: 8.062 kB / 1.217 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/0.5471, allocations: 383.3 kB / 1.217 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004849/0.552, allocations: 1.314 MB / 1.219 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000216/0.5523, allocations: 35.97 kB / 1.219 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02605/0.5783, allocations: 25.51 MB / 1.244 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.5784, allocations: 7.969 kB / 1.244 GB, free: 12.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01127/0.5896, allocations: 4.211 MB / 1.248 GB, free: 8.289 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/0.5909, allocations: 467.9 kB / 1.248 GB, free: 7.812 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004479/0.5914, allocations: 31.92 kB / 1.248 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002323/0.5937, allocations: 303.5 kB / 1.248 GB, free: 7.484 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004492/0.5942, allocations: 128.7 kB / 1.249 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.5944, allocations: 52.09 kB / 1.249 GB, free: 7.309 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001158/0.5955, allocations: 0.7526 MB / 1.249 GB, free: 6.555 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5955, allocations: 4 kB / 1.249 GB, free: 6.551 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002182/0.5977, allocations: 0.5664 MB / 1.25 GB, free: 5.984 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01177/0.6095, allocations: 4.798 MB / 1.255 GB, free: 1.086 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.5075/1.117, allocations: 5.133 MB / 1.26 GB, free: 156.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.117, allocations: 1.031 kB / 1.26 GB, free: 156.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007235/1.124, allocations: 3.502 MB / 1.263 GB, free: 155.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.127, allocations: 0.5584 MB / 1.264 GB, free: 155.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04682/1.174, allocations: 19.41 MB / 1.283 GB, free: 148.9 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/1.175, allocations: 1.476 MB / 1.284 GB, free: 148.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001798/1.177, allocations: 429.1 kB / 1.284 GB, free: 148 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000919/1.178, allocations: 0.6274 MB / 1.285 GB, free: 147.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.052e-06/1.178, allocations: 0 / 1.285 GB, free: 147.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/1.332, allocations: 51.68 MB / 1.335 GB, free: 112.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.12/19.45, allocations: 7.984 kB / 1.335 GB, free: 112.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches