Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.001188/0.001188, 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.001207/0.001207, allocations: 197.1 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.346/2.346, allocations: 390.3 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5737, allocations: 140.4 MB / 0.9497 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03619/0.6099, allocations: 35.13 MB / 0.984 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01681/0.6267, allocations: 9.93 MB / 0.9937 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/0.6299, allocations: 147.2 kB / 0.9939 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.009207/0.6392, allocations: 3.806 MB / 0.9976 GB, free: 0.6914 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006037/0.6452, allocations: 2.04 MB / 0.9996 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.005489/0.6508, allocations: 1.963 MB / 1.002 GB, free: 12.68 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.6609, allocations: 7.963 MB / 1.009 GB, free: 4.695 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01318/0.6742, allocations: 9.598 MB / 1.019 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005173/0.6794, allocations: 3.357 MB / 1.022 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005457/0.6849, allocations: 3.734 MB / 1.026 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001729/0.6866, allocations: 0.6797 MB / 1.026 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00351/0.6901, allocations: 1.44 MB / 1.028 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003253/0.6934, allocations: 2.623 MB / 1.03 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004738/0.6982, allocations: 3.101 MB / 1.033 GB, free: 12 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.7083, allocations: 10.32 MB / 1.043 GB, free: 1.648 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7083, allocations: 0 / 1.043 GB, free: 1.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7084, allocations: 0 / 1.043 GB, free: 1.648 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002342/0.7086, allocations: 0 / 1.043 GB, free: 1.648 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01232/0.7209, allocations: 5.397 MB / 1.049 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.721, allocations: 11.97 kB / 1.049 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001184/0.7222, allocations: 0.7061 MB / 1.049 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.7268, allocations: 0.9704 MB / 1.05 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004827/0.7317, allocations: 2.995 MB / 1.053 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.7319, allocations: 353.9 kB / 1.053 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006971/0.7326, allocations: 468.2 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.7441, allocations: 7.91 MB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.582e-05/0.7442, allocations: 15.88 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004761/0.7447, allocations: 212 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004782/0.7452, allocations: 373.1 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009357/0.7545, allocations: 5.933 MB / 1.068 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/0.7871, allocations: 36.21 MB / 1.103 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003043/0.7902, allocations: 2.15 MB / 1.105 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.7919, allocations: 1.485 MB / 1.107 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.904e-05/0.792, allocations: 17.31 kB / 1.107 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.792, allocations: 55.81 kB / 1.107 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=157): time 3.025e-06/0.7921, allocations: 0 / 1.107 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=160): time 0.01271/0.8048, allocations: 7.529 MB / 1.114 GB, free: 4.836 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.8048, allocations: 68.72 kB / 1.114 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.807, allocations: 1.864 MB / 1.116 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.8072, allocations: 53.7 kB / 1.116 GB, free: 2.805 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.8084, allocations: 2.131 MB / 1.118 GB, free: 0.6484 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.8088, allocations: 0.5506 MB / 1.119 GB, free: 92 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005965/0.8094, allocations: 411.9 kB / 1.119 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.115e-05/0.8095, allocations: 301.1 kB / 1.12 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.811, allocations: 1.058 MB / 1.121 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/0.813, allocations: 1.764 MB / 1.122 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00366/0.8167, allocations: 3.049 MB / 1.125 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.8167, allocations: 4 kB / 1.125 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006165/0.8229, allocations: 3.924 MB / 1.129 GB, free: 4.895 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.8229, allocations: 16 kB / 1.129 GB, free: 4.879 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.8229, allocations: 24 kB / 1.129 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002384/0.8253, allocations: 0.9316 MB / 1.13 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.8269, allocations: 439.2 kB / 1.131 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.8461, allocations: 22.76 MB / 1.153 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.8481, allocations: 119.9 kB / 1.153 GB, free: 10.9 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002726/0.8484, allocations: 104 kB / 1.153 GB, free: 10.8 MB / 0.92 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002447/0.8508, allocations: 1.648 MB / 1.155 GB, free: 9.137 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000494/0.8513, allocations: 253.1 kB / 1.155 GB, free: 8.887 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.8567, allocations: 3.26 MB / 1.158 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.8567, allocations: 16 kB / 1.158 GB, free: 5.562 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.8568, allocations: 12 kB / 1.158 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.8568, allocations: 11.91 kB / 1.158 GB, free: 5.539 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/0.8684, allocations: 7.553 MB / 1.165 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.8685, allocations: 4 kB / 1.165 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/0.8694, allocations: 215.6 kB / 1.166 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/0.8717, allocations: 0.8887 MB / 1.167 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.8718, allocations: 32 kB / 1.167 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.891, allocations: 22.74 MB / 1.189 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.891, allocations: 11.94 kB / 1.189 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005151/0.8962, allocations: 3.383 MB / 1.192 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008712/0.8971, allocations: 0.5292 MB / 1.193 GB, free: 176 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003074/0.8974, allocations: 35.94 kB / 1.193 GB, free: 140 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.8985, allocations: 99.81 kB / 1.193 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/0.8988, allocations: 137.1 kB / 1.193 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/0.8989, allocations: 48 kB / 1.193 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001539/0.9005, allocations: 1.229 MB / 1.194 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9005, allocations: 0 / 1.194 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00246/0.903, allocations: 0.9023 MB / 1.195 GB, free: 13.71 MB / 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005107/0.9081, allocations: 3.991 MB / 1.199 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.007565/0.9157, allocations: 5.205 MB / 1.204 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9157, allocations: 1 kB / 1.204 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003829/0.9195, allocations: 2.984 MB / 1.207 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003159/0.9227, allocations: 0.8271 MB / 1.208 GB, free: 292 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03542/0.9581, allocations: 27.55 MB / 1.235 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.9611, allocations: 3.205 MB / 1.238 GB, free: 15.18 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00175/0.9629, allocations: 0.5215 MB / 1.238 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001703/0.9646, allocations: 1.651 MB / 1.24 GB, free: 13 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.9646, allocations: 4 kB / 1.24 GB, free: 13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5236/1.488, allocations: 70.87 MB / 1.309 GB, free: 248.8 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/12.25, allocations: 6.469 kB / 1.309 GB, free: 248.8 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches