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.001246/0.001246, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001273/0.001273, allocations: 190.9 kB / 16.25 MB, free: 6.629 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.254/1.254, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.216/2.216, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 63.91 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5514, allocations: 140.4 MB / 0.9492 GB, free: 9.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2177/0.7692, allocations: 237 MB / 1.181 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.7798, allocations: 7.11 MB / 1.188 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001372/0.7812, allocations: 47.69 kB / 1.188 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.7826, allocations: 449.6 kB / 1.188 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.7857, allocations: 1.225 MB / 1.189 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.7891, allocations: 1.488 MB / 1.191 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.7914, allocations: 1.948 MB / 1.193 GB, free: 7.949 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.7924, allocations: 0.7698 MB / 1.193 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.795, allocations: 1.401 MB / 1.195 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009675/0.796, allocations: 0.6965 MB / 1.195 GB, free: 5.066 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000181/0.7962, allocations: 76 kB / 1.195 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.7987, allocations: 1.547 MB / 1.197 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003859/0.7991, allocations: 303 kB / 1.197 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0008046/0.7999, allocations: 477.7 kB / 1.198 GB, free: 2.676 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002414/0.8023, allocations: 1.729 MB / 1.199 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8024, allocations: 0 / 1.199 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8024, allocations: 4 kB / 1.199 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.573e-05/0.8024, allocations: 0 / 1.199 GB, free: 0.9375 MB / 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.002233/0.8046, allocations: 1.249 MB / 1.201 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.8047, allocations: 8.031 kB / 1.201 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.8048, allocations: 94.52 kB / 1.201 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.8064, allocations: 278.6 kB / 1.201 GB, free: 15.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.8074, allocations: 0.6633 MB / 1.202 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.8075, allocations: 44.94 kB / 1.202 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.454e-05/0.8076, allocations: 51.98 kB / 1.202 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.8086, allocations: 0.592 MB / 1.202 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.8086, allocations: 0 / 1.202 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.081e-05/0.8087, allocations: 16 kB / 1.202 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.8087, allocations: 15.94 kB / 1.202 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.8098, allocations: 0.609 MB / 1.203 GB, free: 13.21 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.00363/0.8134, allocations: 2.883 MB / 1.206 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.814, allocations: 387.4 kB / 1.206 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004328/0.8145, allocations: 277.3 kB / 1.206 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006285/0.8151, allocations: 396.7 kB / 1.207 GB, free: 8.957 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.8152, allocations: 42.89 kB / 1.207 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006494/0.8158, allocations: 159.4 kB / 1.207 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=39): time 2.023e-06/0.8158, allocations: 4 kB / 1.207 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39): time 0.001643/0.8175, allocations: 0.821 MB / 1.208 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.8175, allocations: 59.34 kB / 1.208 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007497/0.8183, allocations: 0.6962 MB / 1.209 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/0.8183, allocations: 33.7 kB / 1.209 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000242/0.8186, allocations: 356.4 kB / 1.209 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.8187, allocations: 145.9 kB / 1.209 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.8188, allocations: 90.03 kB / 1.209 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.8189, allocations: 318 kB / 1.209 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.8193, allocations: 212.6 kB / 1.21 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004699/0.8198, allocations: 296.8 kB / 1.21 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000838/0.8207, allocations: 0.5003 MB / 1.21 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8207, allocations: 3.938 kB / 1.21 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001058/0.8217, allocations: 0.6132 MB / 1.211 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8218, allocations: 4 kB / 1.211 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.8218, allocations: 4 kB / 1.211 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.8218, allocations: 0 / 1.211 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.8223, allocations: 107.8 kB / 1.211 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.8223, allocations: 8.062 kB / 1.211 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/0.8229, allocations: 59.97 kB / 1.211 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.8229, allocations: 27.92 kB / 1.211 GB, free: 4.312 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.0002476/0.8232, allocations: 221.6 kB / 1.211 GB, free: 4.086 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.8233, allocations: 83.06 kB / 1.211 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.8245, allocations: 0.6491 MB / 1.212 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8245, allocations: 7.938 kB / 1.212 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8246, allocations: 4 kB / 1.212 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8246, allocations: 0 / 1.212 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.8267, allocations: 1.512 MB / 1.214 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.8268, allocations: 7.984 kB / 1.214 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004506/0.8272, allocations: 84.3 kB / 1.214 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.8272, allocations: 8 kB / 1.214 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.8273, allocations: 12 kB / 1.214 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.8273, allocations: 7.938 kB / 1.214 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.8273, allocations: 4 kB / 1.214 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.8288, allocations: 1.048 MB / 1.215 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.8291, allocations: 196 kB / 1.215 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.8292, allocations: 16 kB / 1.215 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.8297, allocations: 51.88 kB / 1.215 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.8298, allocations: 35.84 kB / 1.215 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.8299, allocations: 20 kB / 1.215 GB, free: 168 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000552/0.8304, allocations: 499 kB / 1.216 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3e-07/0.8304, allocations: 0 / 1.216 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005623/0.831, allocations: 203.7 kB / 1.216 GB, free: 15.48 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.002035/0.833, allocations: 1.718 MB / 1.217 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009857/0.834, allocations: 0.5395 MB / 1.218 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.834, allocations: 0 / 1.218 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.8345, allocations: 276.1 kB / 1.218 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.8363, allocations: 459.3 kB / 1.219 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/0.8479, allocations: 6.891 MB / 1.225 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.8484, allocations: 0.9612 MB / 1.226 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006555/0.8491, allocations: 178.4 kB / 1.226 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.8495, allocations: 287.3 kB / 1.227 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.8495, allocations: 0 / 1.227 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.334/2.184, allocations: 22.57 MB / 1.249 GB, free: 288.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/2.184, allocations: 282.8 kB / 1.249 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/5.205, allocations: 4.344 kB / 1.249 GB, free: 287.7 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