Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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 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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.007621/0.007621, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001983/0.001983, allocations: 196.6 kB / 16.67 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.344/2.344, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 66.47 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2638, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04062/0.3045, allocations: 37.94 MB / 1.125 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01834/0.3229, allocations: 10.99 MB / 1.135 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003425/0.3263, allocations: 155.2 kB / 1.135 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01108/0.3375, allocations: 4.373 MB / 1.14 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006782/0.3443, allocations: 2.336 MB / 1.142 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/0.3499, allocations: 2.167 MB / 1.144 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01017/0.3601, allocations: 9.303 MB / 1.153 GB, free: 14.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01556/0.3757, allocations: 11.26 MB / 1.164 GB, free: 3.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006182/0.3819, allocations: 4.047 MB / 1.168 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007635/0.3896, allocations: 4.51 MB / 1.173 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.002436/0.392, allocations: 0.8242 MB / 1.173 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004213/0.3963, allocations: 1.584 MB / 1.175 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.004293/0.4006, allocations: 3.154 MB / 1.178 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00636/0.4069, allocations: 3.653 MB / 1.182 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.4223, allocations: 12.35 MB / 1.194 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.4224, allocations: 4 kB / 1.194 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.949e-06/0.4224, allocations: 0 / 1.194 GB, free: 4.938 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0004762/0.4229, allocations: 4 kB / 1.194 GB, free: 4.934 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01998/0.4429, allocations: 6.463 MB / 1.2 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4429, allocations: 8.031 kB / 1.2 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002284/0.4452, allocations: 0.8294 MB / 1.201 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006298/0.4515, allocations: 1.102 MB / 1.202 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008069/0.4596, allocations: 3.628 MB / 1.205 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.46, allocations: 427.8 kB / 1.206 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.4615, allocations: 0.5471 MB / 1.206 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01807/0.4795, allocations: 9.377 MB / 1.215 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002172/0.4798, allocations: 15.88 kB / 1.215 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001494/0.4813, allocations: 247.9 kB / 1.216 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006444/0.482, allocations: 422.9 kB / 1.216 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01423/0.4962, allocations: 7.123 MB / 1.223 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5601/1.056, allocations: 41.06 MB / 1.263 GB, free: 137.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005481/1.062, allocations: 3.102 MB / 1.266 GB, free: 137.7 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003476/1.065, allocations: 2.149 MB / 1.268 GB, free: 137.7 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/1.066, allocations: 29.28 kB / 1.268 GB, free: 137.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.619e-05/1.066, allocations: 63.95 kB / 1.268 GB, free: 137.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=209): time 5.912e-06/1.066, allocations: 2.078 kB / 1.268 GB, free: 137.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=212): time 0.02654/1.092, allocations: 10.63 MB / 1.279 GB, free: 135.3 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/1.092, allocations: 74.28 kB / 1.279 GB, free: 135.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/1.096, allocations: 2.007 MB / 1.281 GB, free: 134.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002928/1.096, allocations: 64.02 kB / 1.281 GB, free: 134.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.098, allocations: 2.481 MB / 1.283 GB, free: 132.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008477/1.099, allocations: 0.7623 MB / 1.284 GB, free: 132.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/1.1, allocations: 487.6 kB / 1.284 GB, free: 132.2 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.993e-05/1.1, allocations: 303 kB / 1.285 GB, free: 131.9 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002347/1.102, allocations: 1.37 MB / 1.286 GB, free: 131.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/1.105, allocations: 2.105 MB / 1.288 GB, free: 130 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005096/1.11, allocations: 3.767 MB / 1.292 GB, free: 127.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.478e-05/1.11, allocations: 6.531 kB / 1.292 GB, free: 127.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009671/1.12, allocations: 5.084 MB / 1.297 GB, free: 125.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/1.12, allocations: 16.02 kB / 1.297 GB, free: 125.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/1.12, allocations: 26.47 kB / 1.297 GB, free: 125.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003988/1.124, allocations: 1.589 MB / 1.298 GB, free: 125.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/1.126, allocations: 463.3 kB / 1.299 GB, free: 125.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01966/1.145, allocations: 18.59 MB / 1.317 GB, free: 113.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/1.148, allocations: 148.3 kB / 1.317 GB, free: 113.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004767/1.149, allocations: 103.8 kB / 1.317 GB, free: 113.8 MB / 1.014 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003798/1.153, allocations: 1.945 MB / 1.319 GB, free: 112.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007415/1.153, allocations: 298.1 kB / 1.319 GB, free: 112.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0064/1.16, allocations: 4.453 MB / 1.324 GB, free: 109.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/1.16, allocations: 20.44 kB / 1.324 GB, free: 109.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.614e-05/1.16, allocations: 18.56 kB / 1.324 GB, free: 109.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/1.16, allocations: 16.67 kB / 1.324 GB, free: 109.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.175, allocations: 9.677 MB / 1.333 GB, free: 103.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/1.175, allocations: 4 kB / 1.333 GB, free: 103.8 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009458/1.176, allocations: 227.6 kB / 1.333 GB, free: 103.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/1.179, allocations: 1.429 MB / 1.335 GB, free: 102.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/1.179, allocations: 40 kB / 1.335 GB, free: 102.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01776/1.197, allocations: 18.58 MB / 1.353 GB, free: 83.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/1.197, allocations: 15.48 kB / 1.353 GB, free: 83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00648/1.204, allocations: 4.557 MB / 1.358 GB, free: 78.36 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.205, allocations: 0.6436 MB / 1.358 GB, free: 77.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006692/1.206, allocations: 44.81 kB / 1.358 GB, free: 77.65 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.208, allocations: 115.8 kB / 1.358 GB, free: 77.54 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004296/1.208, allocations: 181.6 kB / 1.358 GB, free: 77.36 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/1.208, allocations: 56 kB / 1.359 GB, free: 77.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001468/1.21, allocations: 1.323 MB / 1.36 GB, free: 75.97 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.21, allocations: 0 / 1.36 GB, free: 75.97 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003273/1.213, allocations: 1.137 MB / 1.361 GB, free: 74.84 MB / 1.014 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005685/1.219, allocations: 5.171 MB / 1.366 GB, free: 69.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00608/1.225, allocations: 4.73 MB / 1.371 GB, free: 64.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.225, allocations: 5 kB / 1.371 GB, free: 64.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003795/1.229, allocations: 2.929 MB / 1.373 GB, free: 61.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003821/1.232, allocations: 0.8906 MB / 1.374 GB, free: 60.97 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03775/1.27, allocations: 30.54 MB / 1.404 GB, free: 29.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003164/1.273, allocations: 3.694 MB / 1.408 GB, free: 25.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001608/1.275, allocations: 0.5518 MB / 1.408 GB, free: 24.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001673/1.277, allocations: 1.948 MB / 1.41 GB, free: 23 MB / 1.014 GB Notification: Performance of SimCode: time 9.41e-07/1.277, allocations: 0 / 1.41 GB, free: 23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/1.439, allocations: 85.27 MB / 1.493 GB, free: 2.605 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.82, allocations: 4.375 kB / 1.494 GB, free: 2.602 MB / 1.076 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches