Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_R_N,fileNamePrefix="Buildings_latest_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_latest_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.004942/0.004942, allocations: 99.52 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.001301/0.001301, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.425/1.425, 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 12.0.0-master/package.mo): time 2.921/2.921, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 63.84 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2962, allocations: 162.2 MB / 1.241 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.6072/0.9033, allocations: 37.95 MB / 1.279 GB, free: 11.18 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.9246, allocations: 10.99 MB / 1.289 GB, free: 3.637 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.929, allocations: 157.2 kB / 1.289 GB, free: 3.59 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01209/0.9411, allocations: 4.356 MB / 1.294 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.007457/0.9486, allocations: 2.218 MB / 1.296 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007028/0.9557, allocations: 2.167 MB / 1.298 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01379/0.9695, allocations: 9.278 MB / 1.307 GB, free: 10.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01982/0.9893, allocations: 11.27 MB / 1.318 GB, free: 5.582 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008564/0.9979, allocations: 4.001 MB / 1.322 GB, free: 3.738 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01024/1.008, allocations: 4.514 MB / 1.326 GB, free: 1.785 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003469/1.012, allocations: 0.8214 MB / 1.327 GB, free: 1.785 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007253/1.019, allocations: 1.585 MB / 1.329 GB, free: 1.492 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.007386/1.026, allocations: 3.146 MB / 1.332 GB, free: 176 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.01062/1.037, allocations: 3.655 MB / 1.335 GB, free: 13.83 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02059/1.058, allocations: 12.34 MB / 1.347 GB, free: 6.258 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.058, allocations: 0 / 1.347 GB, free: 6.258 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/1.058, allocations: 1.062 kB / 1.347 GB, free: 6.258 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0004033/1.058, allocations: 0 / 1.347 GB, free: 6.258 MB / 1.045 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.02269/1.081, allocations: 6.472 MB / 1.354 GB, free: 1.973 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.081, allocations: 13.47 kB / 1.354 GB, free: 1.969 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003434/1.084, allocations: 0.8255 MB / 1.355 GB, free: 1.387 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007718/1.092, allocations: 1.097 MB / 1.356 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009579/1.102, allocations: 3.63 MB / 1.359 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005046/1.102, allocations: 424.1 kB / 1.36 GB, free: 14.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/1.105, allocations: 0.5386 MB / 1.36 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0256/1.131, allocations: 9.384 MB / 1.369 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002303/1.131, allocations: 27.77 kB / 1.369 GB, free: 5.773 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00208/1.133, allocations: 248 kB / 1.369 GB, free: 5.531 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007317/1.134, allocations: 422.9 kB / 1.37 GB, free: 5.117 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01648/1.15, allocations: 7.127 MB / 1.377 GB, free: 13.98 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05704/1.207, allocations: 41.07 MB / 1.417 GB, free: 1.172 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005599/1.213, allocations: 3.105 MB / 1.42 GB, free: 14.06 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003526/1.216, allocations: 2.155 MB / 1.422 GB, free: 11.91 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/1.217, allocations: 25.98 kB / 1.422 GB, free: 11.88 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/1.217, allocations: 68.5 kB / 1.422 GB, free: 11.81 MB / 1.123 GB Notification: Performance of pre-optimization done (n=209): time 6.021e-06/1.217, allocations: 4 kB / 1.422 GB, free: 11.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=212): time 0.02797/1.245, allocations: 10.62 MB / 1.433 GB, free: 1.094 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/1.245, allocations: 77.41 kB / 1.433 GB, free: 1.004 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003255/1.248, allocations: 2.01 MB / 1.435 GB, free: 14.98 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002546/1.248, allocations: 65.7 kB / 1.435 GB, free: 14.91 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001876/1.25, allocations: 2.47 MB / 1.437 GB, free: 12.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008236/1.251, allocations: 0.7669 MB / 1.438 GB, free: 11.64 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009554/1.252, allocations: 485.5 kB / 1.438 GB, free: 11.16 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.252, allocations: 305.1 kB / 1.439 GB, free: 10.86 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/1.254, allocations: 1.372 MB / 1.44 GB, free: 9.48 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00287/1.257, allocations: 2.104 MB / 1.442 GB, free: 7.062 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00557/1.263, allocations: 3.766 MB / 1.446 GB, free: 2.984 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.267e-05/1.263, allocations: 8 kB / 1.446 GB, free: 2.977 MB / 1.139 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.00964/1.273, allocations: 5.077 MB / 1.451 GB, free: 13.88 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/1.273, allocations: 16 kB / 1.451 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.491e-05/1.273, allocations: 24.91 kB / 1.451 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/1.277, allocations: 1.58 MB / 1.452 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/1.279, allocations: 451.3 kB / 1.453 GB, free: 11.8 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02605/1.305, allocations: 18.61 MB / 1.471 GB, free: 8.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/1.307, allocations: 143.9 kB / 1.471 GB, free: 8.496 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005189/1.308, allocations: 111.9 kB / 1.471 GB, free: 8.387 MB / 1.17 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.004076/1.312, allocations: 1.941 MB / 1.473 GB, free: 6.434 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008494/1.313, allocations: 302.2 kB / 1.473 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008705/1.322, allocations: 4.451 MB / 1.478 GB, free: 1.656 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.761e-05/1.322, allocations: 23.94 kB / 1.478 GB, free: 1.633 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-05/1.322, allocations: 16 kB / 1.478 GB, free: 1.617 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/1.322, allocations: 15.95 kB / 1.478 GB, free: 1.602 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/1.342, allocations: 9.668 MB / 1.487 GB, free: 7.785 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-05/1.342, allocations: 4 kB / 1.487 GB, free: 7.781 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.343, allocations: 235.6 kB / 1.487 GB, free: 7.551 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003716/1.347, allocations: 1.425 MB / 1.489 GB, free: 6.117 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002504/1.347, allocations: 40 kB / 1.489 GB, free: 6.078 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02568/1.373, allocations: 18.58 MB / 1.507 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.373, allocations: 12 kB / 1.507 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008488/1.382, allocations: 4.557 MB / 1.511 GB, free: 14.28 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.383, allocations: 0.6436 MB / 1.512 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/1.384, allocations: 44.23 kB / 1.512 GB, free: 13.57 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/1.386, allocations: 119.9 kB / 1.512 GB, free: 13.46 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005489/1.386, allocations: 181.6 kB / 1.512 GB, free: 13.28 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001949/1.387, allocations: 60 kB / 1.512 GB, free: 13.22 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002189/1.389, allocations: 1.311 MB / 1.514 GB, free: 11.9 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.214e-06/1.389, allocations: 0 / 1.514 GB, free: 11.9 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.004062/1.393, allocations: 1.144 MB / 1.515 GB, free: 10.76 MB / 1.217 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.008802/1.402, allocations: 5.177 MB / 1.52 GB, free: 5.48 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.009/1.411, allocations: 4.735 MB / 1.524 GB, free: 0.6914 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/1.411, allocations: 4 kB / 1.524 GB, free: 0.6875 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.005755/1.417, allocations: 2.93 MB / 1.527 GB, free: 13.7 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006579/1.423, allocations: 0.8834 MB / 1.528 GB, free: 12.83 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06228/1.485, allocations: 30.55 MB / 1.558 GB, free: 13.08 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006941/1.492, allocations: 3.698 MB / 1.562 GB, free: 9.348 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002256/1.495, allocations: 0.5557 MB / 1.562 GB, free: 8.785 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003216/1.498, allocations: 1.948 MB / 1.564 GB, free: 6.836 MB / 1.264 GB Notification: Performance of SimCode: time 8.52e-07/1.498, allocations: 0 / 1.564 GB, free: 6.836 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/1.663, allocations: 85.25 MB / 1.647 GB, free: 2.543 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.04/16.71, allocations: 23.41 kB / 1.647 GB, free: 2.523 MB / 1.342 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches