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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000975/0.000975, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007575/0.007575, allocations: 171.1 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003069/0.0003071, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5469/0.5472, allocations: 142.4 MB / 0.9552 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2181/0.7653, allocations: 234.5 MB / 1.184 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.7754, allocations: 7.162 MB / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009116/0.7763, allocations: 43.69 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.7773, allocations: 429.5 kB / 1.192 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.7797, allocations: 1.237 MB / 1.193 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.7828, allocations: 1.473 MB / 1.194 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.7852, allocations: 2.7 MB / 1.197 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009462/0.7862, allocations: 0.672 MB / 1.198 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002926/0.7891, allocations: 1.272 MB / 1.199 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000765/0.7899, allocations: 0.6769 MB / 1.2 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.965e-05/0.79, allocations: 44 kB / 1.2 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.7926, allocations: 1.745 MB / 1.201 GB, free: 2.457 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.7928, allocations: 267.1 kB / 1.202 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004098/0.7932, allocations: 463.4 kB / 1.202 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.795, allocations: 1.678 MB / 1.204 GB, free: 52 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.795, allocations: 4 kB / 1.204 GB, free: 48 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.272e-06/0.795, allocations: 0 / 1.204 GB, free: 48 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.795, allocations: 0 / 1.204 GB, free: 48 kB / 0.9512 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.001766/0.7968, allocations: 1.105 MB / 1.205 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.7968, allocations: 12.03 kB / 1.205 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.7969, allocations: 90.52 kB / 1.205 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.7985, allocations: 274.6 kB / 1.205 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000889/0.7994, allocations: 0.6671 MB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.7994, allocations: 41 kB / 1.206 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.7995, allocations: 48 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.8005, allocations: 0.6115 MB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.8006, allocations: 8 kB / 1.206 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.8006, allocations: 20 kB / 1.206 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.8006, allocations: 15.98 kB / 1.206 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.8017, allocations: 0.6207 MB / 1.207 GB, free: 12.43 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.003405/0.8051, allocations: 2.876 MB / 1.21 GB, free: 9.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/0.8058, allocations: 419.2 kB / 1.21 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004562/0.8062, allocations: 289.3 kB / 1.21 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006171/0.8069, allocations: 408.7 kB / 1.211 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.8069, allocations: 34.89 kB / 1.211 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005987/0.8075, allocations: 195.4 kB / 1.211 GB, free: 7.895 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 3.186e-06/0.8075, allocations: 3.984 kB / 1.211 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.001645/0.8092, allocations: 0.829 MB / 1.212 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.8092, allocations: 59.34 kB / 1.212 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007584/0.81, allocations: 0.7041 MB / 1.213 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.81, allocations: 37.7 kB / 1.213 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.8103, allocations: 356.4 kB / 1.213 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.8104, allocations: 141.9 kB / 1.213 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.917e-05/0.8105, allocations: 37.7 kB / 1.213 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.8106, allocations: 322 kB / 1.214 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003941/0.811, allocations: 212.6 kB / 1.214 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.8114, allocations: 304.8 kB / 1.214 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008696/0.8123, allocations: 0.5043 MB / 1.215 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8123, allocations: 0 / 1.215 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001031/0.8134, allocations: 0.621 MB / 1.215 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8134, allocations: 4 kB / 1.215 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.8134, allocations: 4 kB / 1.215 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.8134, allocations: 4 kB / 1.215 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.8139, allocations: 103.8 kB / 1.215 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8139, allocations: 4 kB / 1.215 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005556/0.8145, allocations: 68.06 kB / 1.215 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.487e-05/0.8145, allocations: 15.98 kB / 1.215 GB, free: 3.484 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.0002436/0.8148, allocations: 229.6 kB / 1.216 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.8149, allocations: 78.97 kB / 1.216 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.8161, allocations: 0.6453 MB / 1.216 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8162, allocations: 7.938 kB / 1.216 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.8162, allocations: 4 kB / 1.216 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8162, allocations: 4 kB / 1.216 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.8183, allocations: 1.52 MB / 1.218 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.8184, allocations: 4 kB / 1.218 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.8188, allocations: 87.88 kB / 1.218 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.8188, allocations: 4.406 kB / 1.218 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.373e-05/0.8188, allocations: 16 kB / 1.218 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.8189, allocations: 11.94 kB / 1.218 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.8189, allocations: 4 kB / 1.218 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.8204, allocations: 1.06 MB / 1.219 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.8206, allocations: 188.2 kB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.8207, allocations: 11.98 kB / 1.219 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005236/0.8212, allocations: 63.8 kB / 1.219 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.49e-05/0.8213, allocations: 39.83 kB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.847e-05/0.8214, allocations: 20 kB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005483/0.8219, allocations: 495 kB / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8219, allocations: 0 / 1.22 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005632/0.8225, allocations: 199.8 kB / 1.22 GB, free: 14.63 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.002046/0.8245, allocations: 1.714 MB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009379/0.8255, allocations: 0.5042 MB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.8255, allocations: 4 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.826, allocations: 277.2 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002511/0.8285, allocations: 0.4894 MB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.8397, allocations: 6.946 MB / 1.23 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.8402, allocations: 0.9613 MB / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006344/0.8408, allocations: 170.5 kB / 1.231 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.8412, allocations: 287.3 kB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of SimCode: time 6.21e-07/0.8412, allocations: 0 / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.845/3.687, allocations: 21.89 MB / 1.252 GB, free: 286.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/3.687, allocations: 281 kB / 1.253 GB, free: 286 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/6.242, allocations: 0.625 kB / 1.253 GB, free: 286 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