Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 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.001174/0.001174, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.255/2.255, allocations: 390.3 MB / 0.6647 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 71.84 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5919/0.5932, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2416/0.8349, allocations: 239.9 MB / 1.184 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.846, allocations: 7.163 MB / 1.191 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.8473, allocations: 51.69 kB / 1.191 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001275/0.8486, allocations: 0.5084 MB / 1.192 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.8515, allocations: 1.306 MB / 1.193 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003357/0.8549, allocations: 1.598 MB / 1.194 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00208/0.8569, allocations: 1.94 MB / 1.196 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009471/0.8579, allocations: 0.7933 MB / 1.197 GB, free: 3.684 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.8605, allocations: 1.409 MB / 1.198 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008106/0.8613, allocations: 0.6615 MB / 1.199 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.8614, allocations: 76 kB / 1.199 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.8638, allocations: 1.481 MB / 1.201 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.8641, allocations: 291.2 kB / 1.201 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004498/0.8646, allocations: 477.7 kB / 1.201 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002123/0.8667, allocations: 1.613 MB / 1.203 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.8667, allocations: 0 / 1.203 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8667, allocations: 0 / 1.203 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.8668, allocations: 0 / 1.203 GB, free: 13.68 MB / 0.9669 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.002076/0.8688, allocations: 1.253 MB / 1.204 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.8689, allocations: 16.03 kB / 1.204 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001103/0.869, allocations: 90.52 kB / 1.204 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.8706, allocations: 278.6 kB / 1.204 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009126/0.8715, allocations: 0.6593 MB / 1.205 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.8716, allocations: 41 kB / 1.205 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-05/0.8717, allocations: 52 kB / 1.205 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.8727, allocations: 0.5959 MB / 1.206 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.8727, allocations: 0 / 1.206 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.8728, allocations: 20 kB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.8728, allocations: 16 kB / 1.206 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.8739, allocations: 0.6012 MB / 1.206 GB, free: 9.945 MB / 0.9669 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.003653/0.8776, allocations: 2.895 MB / 1.209 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006534/0.8782, allocations: 399.3 kB / 1.21 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/0.8787, allocations: 277.3 kB / 1.21 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.8794, allocations: 404.6 kB / 1.21 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.8794, allocations: 34.88 kB / 1.21 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005307/0.88, allocations: 115.5 kB / 1.21 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.88, allocations: 4 kB / 1.21 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.001742/0.8817, allocations: 0.8093 MB / 1.211 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.8818, allocations: 59.34 kB / 1.211 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007776/0.8825, allocations: 0.7001 MB / 1.212 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.8826, allocations: 37.7 kB / 1.212 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.8829, allocations: 356.4 kB / 1.212 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.883, allocations: 141.9 kB / 1.212 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.8831, allocations: 86.03 kB / 1.213 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8833, allocations: 322 kB / 1.213 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.8837, allocations: 212.6 kB / 1.213 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.8842, allocations: 300.8 kB / 1.213 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008889/0.8851, allocations: 0.4965 MB / 1.214 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8851, allocations: 0 / 1.214 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001106/0.8862, allocations: 0.6095 MB / 1.214 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.8862, allocations: 4 kB / 1.214 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8862, allocations: 4 kB / 1.214 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.8863, allocations: 0 / 1.214 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.8868, allocations: 111.9 kB / 1.215 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.8868, allocations: 8 kB / 1.215 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004941/0.8873, allocations: 31.97 kB / 1.215 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.8874, allocations: 23.97 kB / 1.215 GB, free: 1.109 MB / 0.9669 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.0002527/0.8876, allocations: 213.8 kB / 1.215 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.8878, allocations: 82.97 kB / 1.215 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.8891, allocations: 0.6532 MB / 1.215 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.8891, allocations: 11.88 kB / 1.216 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8891, allocations: 0 / 1.216 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.8891, allocations: 3.984 kB / 1.216 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002249/0.8914, allocations: 1.517 MB / 1.217 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8914, allocations: 4 kB / 1.217 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.8919, allocations: 87.83 kB / 1.217 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.8919, allocations: 8 kB / 1.217 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.8919, allocations: 11.98 kB / 1.217 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.8919, allocations: 8.406 kB / 1.217 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.8919, allocations: 7.938 kB / 1.217 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.8935, allocations: 1.048 MB / 1.218 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.8938, allocations: 200.1 kB / 1.218 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.8939, allocations: 12 kB / 1.218 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.8944, allocations: 31.97 kB / 1.218 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.8945, allocations: 43.83 kB / 1.218 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.8946, allocations: 16 kB / 1.218 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005712/0.8951, allocations: 495 kB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8951, allocations: 4 kB / 1.219 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006084/0.8958, allocations: 195.8 kB / 1.219 GB, free: 12.3 MB / 0.9825 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.002434/0.8982, allocations: 1.714 MB / 1.221 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.8994, allocations: 0.5266 MB / 1.221 GB, free: 10 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.8994, allocations: 3.938 kB / 1.221 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.9, allocations: 276.8 kB / 1.222 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.9021, allocations: 471.1 kB / 1.222 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.915, allocations: 6.67 MB / 1.229 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.9157, allocations: 0.9767 MB / 1.229 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0007496/0.9164, allocations: 182.4 kB / 1.23 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/0.9169, allocations: 283.3 kB / 1.23 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9169, allocations: 0 / 1.23 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4965/1.413, allocations: 22.84 MB / 1.252 GB, free: 288.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.567/9.98, allocations: 4.797 kB / 1.252 GB, free: 288.1 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches