Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008231/0.0008231, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000809/0.000809, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8628/0.8628, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.684/1.684, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.002046/0.002049, allocations: 2.281 kB / 0.9809 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.6125/0.6145, allocations: 212.8 MB / 1.189 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.009392/0.6239, allocations: 6.759 MB / 1.195 GB, free: 13.07 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.6258, allocations: 71.06 kB / 1.195 GB, free: 13.03 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.6271, allocations: 0.5156 MB / 1.196 GB, free: 12.71 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.003015/0.6301, allocations: 1.38 MB / 1.197 GB, free: 11.93 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004041/0.6342, allocations: 1.728 MB / 1.199 GB, free: 11.07 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.6373, allocations: 1.964 MB / 1.201 GB, free: 10.13 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.6385, allocations: 0.6556 MB / 1.202 GB, free: 9.805 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004395/0.6429, allocations: 1.997 MB / 1.203 GB, free: 8.898 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009046/0.6438, allocations: 0.5997 MB / 1.204 GB, free: 8.699 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.594e-05/0.6439, allocations: 75.22 kB / 1.204 GB, free: 8.699 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.6461, allocations: 1.221 MB / 1.205 GB, free: 8.246 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000268/0.6463, allocations: 316.6 kB / 1.206 GB, free: 8.086 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.6467, allocations: 339.4 kB / 1.206 GB, free: 7.953 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.002556/0.6493, allocations: 1.677 MB / 1.208 GB, free: 7.238 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/0.6493, allocations: 0.9375 kB / 1.208 GB, free: 7.238 MB / 1.042 GB Notification: Performance of FrontEnd: time 3.176e-06/0.6493, allocations: 4 kB / 1.208 GB, free: 7.234 MB / 1.042 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.6493, allocations: 0 / 1.208 GB, free: 7.234 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002207/0.6515, allocations: 1.182 MB / 1.209 GB, free: 6.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.6516, allocations: 9.625 kB / 1.209 GB, free: 6.32 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.934e-05/0.6516, allocations: 91.02 kB / 1.209 GB, free: 6.238 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009783/0.6526, allocations: 290.3 kB / 1.209 GB, free: 6.102 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.6535, allocations: 0.6406 MB / 1.21 GB, free: 5.617 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.6536, allocations: 38.53 kB / 1.21 GB, free: 5.598 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.6536, allocations: 58 kB / 1.21 GB, free: 5.574 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007568/0.6544, allocations: 0.6104 MB / 1.21 GB, free: 5.211 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.6544, allocations: 0 / 1.21 GB, free: 5.211 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.6544, allocations: 21.31 kB / 1.21 GB, free: 5.195 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.6545, allocations: 14.03 kB / 1.21 GB, free: 5.191 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007171/0.6552, allocations: 0.6235 MB / 1.211 GB, free: 4.887 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.6583, allocations: 1.965 MB / 1.213 GB, free: 3.512 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.6588, allocations: 373.6 kB / 1.213 GB, free: 3.316 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.6591, allocations: 268.1 kB / 1.214 GB, free: 3.18 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003663/0.6594, allocations: 94.75 kB / 1.214 GB, free: 3.145 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.6595, allocations: 37.42 kB / 1.214 GB, free: 3.102 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005332/0.66, allocations: 153.3 kB / 1.214 GB, free: 3.035 MB / 1.042 GB Notification: Performance of pre-optimization done (n=39): time 4.278e-06/0.66, allocations: 0 / 1.214 GB, free: 3.035 MB / 1.042 GB Notification: Performance of matching and sorting (n=39): time 0.001218/0.6612, allocations: 0.8222 MB / 1.215 GB, free: 2.613 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.6613, allocations: 61.5 kB / 1.215 GB, free: 2.547 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006865/0.6619, allocations: 0.7042 MB / 1.215 GB, free: 2.152 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.662, allocations: 36.42 kB / 1.215 GB, free: 2.113 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.6622, allocations: 367.7 kB / 1.216 GB, free: 1.793 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.6623, allocations: 142.9 kB / 1.216 GB, free: 1.668 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.6625, allocations: 98.53 kB / 1.216 GB, free: 1.602 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6626, allocations: 327.6 kB / 1.216 GB, free: 1.281 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.6628, allocations: 207.8 kB / 1.217 GB, free: 1.18 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.6633, allocations: 482 kB / 1.217 GB, free: 0.7617 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/0.6639, allocations: 0.493 MB / 1.218 GB, free: 492 kB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.6639, allocations: 0 / 1.218 GB, free: 492 kB / 1.042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007976/0.6647, allocations: 0.6247 MB / 1.218 GB, free: 152 kB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.6647, allocations: 5.438 kB / 1.218 GB, free: 152 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6647, allocations: 2.531 kB / 1.218 GB, free: 152 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6647, allocations: 2.344 kB / 1.218 GB, free: 152 kB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.665, allocations: 104.1 kB / 1.218 GB, free: 120 kB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.665, allocations: 2.531 kB / 1.218 GB, free: 120 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.6654, allocations: 43.98 kB / 1.218 GB, free: 92 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.6655, allocations: 23.42 kB / 1.218 GB, free: 84 kB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002883/0.6658, allocations: 223.6 kB / 1.219 GB, free: 15.89 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.6659, allocations: 81.05 kB / 1.219 GB, free: 15.85 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008832/0.6668, allocations: 0.6573 MB / 1.219 GB, free: 15.46 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6668, allocations: 2.781 kB / 1.219 GB, free: 15.46 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6668, allocations: 2.812 kB / 1.219 GB, free: 15.46 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6668, allocations: 2.438 kB / 1.219 GB, free: 15.46 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.6685, allocations: 1.422 MB / 1.221 GB, free: 14.49 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6685, allocations: 2.906 kB / 1.221 GB, free: 14.49 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/0.6688, allocations: 91.94 kB / 1.221 GB, free: 14.46 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.6688, allocations: 2.625 kB / 1.221 GB, free: 14.46 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.6688, allocations: 16 kB / 1.221 GB, free: 14.46 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6688, allocations: 5.156 kB / 1.221 GB, free: 14.46 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.6688, allocations: 6.125 kB / 1.221 GB, free: 14.46 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.6699, allocations: 1.052 MB / 1.222 GB, free: 13.78 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.6702, allocations: 128.5 kB / 1.222 GB, free: 13.69 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.329e-05/0.6702, allocations: 11.88 kB / 1.222 GB, free: 13.69 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.6705, allocations: 29.41 kB / 1.222 GB, free: 13.67 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.644e-05/0.6706, allocations: 44.16 kB / 1.222 GB, free: 13.64 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.6706, allocations: 14.47 kB / 1.222 GB, free: 13.64 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.0004748/0.6711, allocations: 0.4951 MB / 1.222 GB, free: 13.36 MB / 1.057 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6711, allocations: 0 / 1.222 GB, free: 13.36 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.00062/0.6717, allocations: 203.6 kB / 1.223 GB, free: 13.33 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001984/0.6737, allocations: 1.689 MB / 1.224 GB, free: 12.07 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0007764/0.6744, allocations: 0.4915 MB / 1.225 GB, free: 11.84 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.6745, allocations: 0 / 1.225 GB, free: 11.84 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.6748, allocations: 263.3 kB / 1.225 GB, free: 11.71 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.676, allocations: 472.4 kB / 1.226 GB, free: 11.48 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008151/0.6842, allocations: 6.453 MB / 1.232 GB, free: 7.477 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.6844, allocations: 369.2 kB / 1.232 GB, free: 7.258 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.00064/0.6851, allocations: 178.4 kB / 1.232 GB, free: 7.172 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003372/0.6854, allocations: 290.6 kB / 1.233 GB, free: 6.938 MB / 1.057 GB Notification: Performance of SimCode: time 1.954e-06/0.6854, allocations: 0 / 1.233 GB, free: 6.938 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04043/0.7258, allocations: 25.7 MB / 1.258 GB, free: 14.94 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.872, allocations: 10.02 kB / 1.258 GB, free: 14.94 MB / 1.089 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.876760463230312]