Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.008065/0.008065, allocations: 101.1 kB / 15.73 MB, free: 6.051 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.001976/0.001976, allocations: 191.2 kB / 16.67 MB, free: 5.98 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.441/2.441, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 62.28 kB / 0.9504 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2819, allocations: 140.4 MB / 1.087 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01821/0.3002, allocations: 14.77 MB / 1.102 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.3155, allocations: 10.34 MB / 1.112 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.3168, allocations: 59.62 kB / 1.112 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004408/0.3213, allocations: 1.689 MB / 1.114 GB, free: 7.035 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.3262, allocations: 1.824 MB / 1.116 GB, free: 5.211 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.3281, allocations: 0.7484 MB / 1.116 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003585/0.3317, allocations: 2.746 MB / 1.119 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.3338, allocations: 1.423 MB / 1.12 GB, free: 256 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.336, allocations: 1.5 MB / 1.122 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.338, allocations: 1.167 MB / 1.123 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000401/0.3384, allocations: 164 kB / 1.123 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001645/0.34, allocations: 0.7838 MB / 1.124 GB, free: 12.63 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.3407, allocations: 0.6037 MB / 1.124 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.3421, allocations: 0.9522 MB / 1.125 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.3457, allocations: 2.772 MB / 1.128 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3457, allocations: 0 / 1.128 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3457, allocations: 0 / 1.128 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.969e-05/0.3458, allocations: 0 / 1.128 GB, free: 8.285 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.004552/0.3503, allocations: 2.178 MB / 1.13 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3504, allocations: 12.03 kB / 1.13 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003213/0.3507, allocations: 194.4 kB / 1.13 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/0.3632, allocations: 2.105 MB / 1.132 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003744/0.367, allocations: 1.303 MB / 1.134 GB, free: 2.371 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.3671, allocations: 90.69 kB / 1.134 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005718/0.3677, allocations: 119.9 kB / 1.134 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006558/0.3743, allocations: 2.667 MB / 1.137 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/0.3743, allocations: 11.84 kB / 1.137 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.3746, allocations: 59.97 kB / 1.137 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007253/0.3753, allocations: 190.1 kB / 1.137 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008246/0.3836, allocations: 2.795 MB / 1.139 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.3995, allocations: 10.45 MB / 1.15 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006926/0.4064, allocations: 2.356 MB / 1.152 GB, free: 14.87 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003465/0.4099, allocations: 1.276 MB / 1.153 GB, free: 13.59 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.028e-05/0.41, allocations: 17 kB / 1.153 GB, free: 13.57 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.4101, allocations: 43.55 kB / 1.153 GB, free: 13.52 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 2.855e-06/0.4101, allocations: 0 / 1.153 GB, free: 13.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=153): time 0.06429/0.4744, allocations: 16.49 MB / 1.169 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.398e-05/0.4745, allocations: 68.72 kB / 1.169 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/0.4769, allocations: 1.176 MB / 1.171 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0003607/0.4773, allocations: 53.7 kB / 1.171 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007149/0.478, allocations: 0.7359 MB / 1.171 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007789/0.4788, allocations: 0.5197 MB / 1.172 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.4799, allocations: 283.5 kB / 1.172 GB, free: 10 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.4801, allocations: 305.1 kB / 1.172 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004061/0.4842, allocations: 1.51 MB / 1.174 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004284/0.4885, allocations: 1.78 MB / 1.176 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008228/0.4968, allocations: 3.369 MB / 1.179 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.4968, allocations: 4 kB / 1.179 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01466/0.5115, allocations: 5.276 MB / 1.184 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.5115, allocations: 12 kB / 1.184 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5116, allocations: 4.844 kB / 1.184 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009964/0.5215, allocations: 1.875 MB / 1.186 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003244/0.5248, allocations: 419.2 kB / 1.186 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04108/0.5659, allocations: 24.14 MB / 1.21 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/0.569, allocations: 303.5 kB / 1.21 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/0.5694, allocations: 71.97 kB / 1.21 GB, free: 1.582 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00132/0.5707, allocations: 465.9 kB / 1.211 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006587/0.5714, allocations: 173.9 kB / 1.211 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/0.5863, allocations: 5.324 MB / 1.216 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.5864, allocations: 16 kB / 1.216 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.878e-05/0.5864, allocations: 20 kB / 1.216 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.5865, allocations: 7.984 kB / 1.216 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/0.6049, allocations: 7.423 MB / 1.223 GB, free: 3.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/0.605, allocations: 4 kB / 1.223 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/0.6068, allocations: 351.4 kB / 1.224 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00642/0.6133, allocations: 1.703 MB / 1.225 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002267/0.6135, allocations: 47.91 kB / 1.225 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02991/0.6435, allocations: 23.3 MB / 1.248 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/0.6435, allocations: 4 kB / 1.248 GB, free: 9.441 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01392/0.6574, allocations: 4.892 MB / 1.253 GB, free: 4.465 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001317/0.6588, allocations: 498.9 kB / 1.253 GB, free: 3.957 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005056/0.6593, allocations: 35.94 kB / 1.253 GB, free: 3.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/0.6619, allocations: 323.5 kB / 1.254 GB, free: 3.605 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005451/0.6624, allocations: 149 kB / 1.254 GB, free: 3.457 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/0.6626, allocations: 59.95 kB / 1.254 GB, free: 3.398 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001258/0.6639, allocations: 0.7899 MB / 1.255 GB, free: 2.609 MB / 1.014 GB Notification: Performance of sort global known variables: time 2e-07/0.6639, allocations: 0 / 1.255 GB, free: 2.609 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002281/0.6662, allocations: 0.6562 MB / 1.255 GB, free: 1.953 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.507/1.173, allocations: 5.468 MB / 1.261 GB, free: 155.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.185, allocations: 5.15 MB / 1.266 GB, free: 155 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.185, allocations: 1.031 kB / 1.266 GB, free: 155 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007488/1.193, allocations: 3.351 MB / 1.269 GB, free: 154 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/1.196, allocations: 0.5528 MB / 1.27 GB, free: 154 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05173/1.247, allocations: 21.85 MB / 1.291 GB, free: 145.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/1.249, allocations: 1.566 MB / 1.292 GB, free: 144.7 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001661/1.25, allocations: 387.4 kB / 1.293 GB, free: 144.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007651/1.251, allocations: 0.6606 MB / 1.293 GB, free: 144.2 MB / 1.014 GB Notification: Performance of SimCode: time 1.122e-06/1.251, allocations: 0 / 1.293 GB, free: 144.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/1.36, allocations: 58.74 MB / 1.351 GB, free: 99.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.76/21.12, allocations: 6.812 kB / 1.351 GB, free: 99.14 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches