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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001594/0.001594, 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.001855/0.001855, allocations: 193.8 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.342/1.342, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.742 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 70.12 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3086, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04173/0.3504, allocations: 37.95 MB / 1.101 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.3688, allocations: 10.99 MB / 1.111 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00421/0.373, allocations: 155.2 kB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01155/0.3847, allocations: 4.37 MB / 1.116 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007661/0.3923, allocations: 2.215 MB / 1.118 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006671/0.399, allocations: 2.17 MB / 1.12 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.4113, allocations: 9.276 MB / 1.129 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01731/0.4286, allocations: 11.36 MB / 1.14 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006828/0.4355, allocations: 3.981 MB / 1.144 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007416/0.4429, allocations: 4.502 MB / 1.149 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002873/0.4458, allocations: 0.8242 MB / 1.149 GB, free: 6.371 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004958/0.4508, allocations: 1.588 MB / 1.151 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005581/0.4564, allocations: 3.154 MB / 1.154 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01444/0.4709, allocations: 3.661 MB / 1.158 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02055/0.4915, allocations: 12.23 MB / 1.17 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/0.4916, allocations: 0 / 1.17 GB, free: 1.684 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4916, allocations: 0 / 1.17 GB, free: 1.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004635/0.492, allocations: 0 / 1.17 GB, free: 1.684 MB / 0.92 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.01966/0.5117, allocations: 6.326 MB / 1.176 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.5118, allocations: 12.03 kB / 1.176 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002992/0.5148, allocations: 0.8255 MB / 1.177 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006722/0.5215, allocations: 1.055 MB / 1.178 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007223/0.5288, allocations: 3.427 MB / 1.181 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.5293, allocations: 427.7 kB / 1.181 GB, free: 5.477 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002086/0.5314, allocations: 0.5316 MB / 1.182 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02366/0.555, allocations: 9.389 MB / 1.191 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003505/0.5554, allocations: 23.78 kB / 1.191 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/0.5575, allocations: 247.9 kB / 1.191 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006956/0.5582, allocations: 418.9 kB / 1.192 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.5735, allocations: 7.127 MB / 1.199 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04673/0.6203, allocations: 41.31 MB / 1.239 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004734/0.6251, allocations: 3.104 MB / 1.242 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002905/0.628, allocations: 2.137 MB / 1.244 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/0.6281, allocations: 22 kB / 1.244 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.289e-05/0.6282, allocations: 60.55 kB / 1.244 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 4.489e-06/0.6282, allocations: 0 / 1.244 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.5342/1.162, allocations: 10.56 MB / 1.255 GB, free: 166 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/1.163, allocations: 77.73 kB / 1.255 GB, free: 166 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/1.165, allocations: 2.005 MB / 1.257 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001634/1.165, allocations: 64.2 kB / 1.257 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001187/1.166, allocations: 2.404 MB / 1.259 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/1.167, allocations: 0.7246 MB / 1.26 GB, free: 164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006455/1.168, allocations: 482.8 kB / 1.26 GB, free: 164 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.79e-05/1.168, allocations: 302 kB / 1.26 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/1.169, allocations: 1.373 MB / 1.262 GB, free: 163.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002482/1.172, allocations: 2.107 MB / 1.264 GB, free: 162 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00452/1.176, allocations: 3.76 MB / 1.267 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.846e-05/1.176, allocations: 6.875 kB / 1.267 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008078/1.185, allocations: 5.07 MB / 1.272 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/1.185, allocations: 14.47 kB / 1.272 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.185, allocations: 26.58 kB / 1.272 GB, free: 157.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003503/1.188, allocations: 1.595 MB / 1.274 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/1.19, allocations: 460.5 kB / 1.274 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/1.21, allocations: 18.58 MB / 1.293 GB, free: 146.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.213, allocations: 149.2 kB / 1.293 GB, free: 146 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.213, allocations: 105.7 kB / 1.293 GB, free: 146 MB / 0.9981 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.002966/1.216, allocations: 1.948 MB / 1.295 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006388/1.217, allocations: 289.6 kB / 1.295 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005993/1.223, allocations: 4.446 MB / 1.299 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/1.223, allocations: 25.05 kB / 1.299 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.602e-05/1.223, allocations: 23.66 kB / 1.299 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.586e-05/1.223, allocations: 11.95 kB / 1.299 GB, free: 143.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/1.235, allocations: 9.664 MB / 1.309 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/1.235, allocations: 10.05 kB / 1.309 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009176/1.236, allocations: 233.3 kB / 1.309 GB, free: 137.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002827/1.239, allocations: 1.436 MB / 1.31 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/1.239, allocations: 39.88 kB / 1.311 GB, free: 136.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01659/1.256, allocations: 18.58 MB / 1.329 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.256, allocations: 11.88 kB / 1.329 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/1.262, allocations: 4.533 MB / 1.333 GB, free: 114.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/1.263, allocations: 0.6381 MB / 1.334 GB, free: 113.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004224/1.264, allocations: 44.69 kB / 1.334 GB, free: 113.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/1.265, allocations: 119.8 kB / 1.334 GB, free: 113.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/1.265, allocations: 177.4 kB / 1.334 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.265, allocations: 56 kB / 1.334 GB, free: 113.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001465/1.267, allocations: 1.327 MB / 1.335 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.267, allocations: 3.938 kB / 1.335 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003012/1.27, allocations: 1.137 MB / 1.337 GB, free: 110.7 MB / 0.9981 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.005575/1.276, allocations: 5.159 MB / 1.342 GB, free: 105.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008129/1.284, allocations: 5.904 MB / 1.347 GB, free: 99.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.284, allocations: 0 / 1.347 GB, free: 99.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003576/1.287, allocations: 2.922 MB / 1.35 GB, free: 96.56 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/1.291, allocations: 0.8848 MB / 1.351 GB, free: 95.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04393/1.335, allocations: 33.63 MB / 1.384 GB, free: 59.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/1.338, allocations: 3.701 MB / 1.388 GB, free: 55.86 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001874/1.34, allocations: 0.5518 MB / 1.388 GB, free: 55.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001709/1.342, allocations: 1.944 MB / 1.39 GB, free: 53.39 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/1.342, allocations: 0 / 1.39 GB, free: 53.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/1.502, allocations: 85.69 MB / 1.474 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/12.46, allocations: 10.36 kB / 1.474 GB, free: 0.6211 MB / 1.029 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 50 --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