Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") translateModel(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002011/0.002011, allocations: 195.3 kB / 16.14 MB, free: 6.719 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.415/1.415, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 64.83 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3183, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.9067/1.225, allocations: 237.7 MB / 1.284 GB, free: 20.14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01257/1.238, allocations: 7.236 MB / 1.291 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/1.24, allocations: 48.84 kB / 1.291 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/1.241, allocations: 427.1 kB / 1.292 GB, free: 19.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003856/1.245, allocations: 1.238 MB / 1.293 GB, free: 19.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004698/1.25, allocations: 1.468 MB / 1.294 GB, free: 19.86 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003601/1.253, allocations: 2.711 MB / 1.297 GB, free: 19.84 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009787/1.254, allocations: 0.6727 MB / 1.298 GB, free: 19.77 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/1.258, allocations: 1.307 MB / 1.299 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/1.259, allocations: 0.6886 MB / 1.3 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001242/1.259, allocations: 47.78 kB / 1.3 GB, free: 19.74 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/1.262, allocations: 1.76 MB / 1.301 GB, free: 19.72 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003317/1.263, allocations: 272 kB / 1.302 GB, free: 19.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006282/1.263, allocations: 458.5 kB / 1.302 GB, free: 19.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002608/1.266, allocations: 1.697 MB / 1.304 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.266, allocations: 0 / 1.304 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.266, allocations: 0 / 1.304 GB, free: 19.48 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.266, allocations: 3.969 kB / 1.304 GB, free: 19.48 MB / 0.9981 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.002439/1.268, allocations: 1.261 MB / 1.305 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.268, allocations: 10.69 kB / 1.305 GB, free: 18.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/1.27, allocations: 277 kB / 1.305 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/1.271, allocations: 0.6562 MB / 1.306 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/1.271, allocations: 39.56 kB / 1.306 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.441e-05/1.272, allocations: 53.38 kB / 1.306 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.273, allocations: 0.5948 MB / 1.307 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.273, allocations: 0 / 1.307 GB, free: 18.35 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.779e-05/1.273, allocations: 22.44 kB / 1.307 GB, free: 18.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/1.273, allocations: 11.25 kB / 1.307 GB, free: 18.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/1.274, allocations: 0.6099 MB / 1.307 GB, free: 18.33 MB / 0.9981 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.003671/1.277, allocations: 2.88 MB / 1.31 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006901/1.278, allocations: 396.3 kB / 1.31 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/1.279, allocations: 275.8 kB / 1.311 GB, free: 16.87 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/1.279, allocations: 399.7 kB / 1.311 GB, free: 16.49 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/1.279, allocations: 48.86 kB / 1.311 GB, free: 16.45 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007324/1.28, allocations: 185.5 kB / 1.311 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=39): time 2.204e-06/1.28, allocations: 0 / 1.311 GB, free: 16.41 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39): time 0.001847/1.282, allocations: 0.7933 MB / 1.312 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/1.282, allocations: 54.88 kB / 1.312 GB, free: 16.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/1.283, allocations: 0.701 MB / 1.313 GB, free: 16.14 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/1.283, allocations: 32.23 kB / 1.313 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/1.283, allocations: 353.7 kB / 1.313 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.578e-05/1.283, allocations: 139.2 kB / 1.313 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/1.283, allocations: 96.88 kB / 1.313 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.69e-05/1.283, allocations: 323.4 kB / 1.314 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/1.284, allocations: 197.9 kB / 1.314 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/1.284, allocations: 295.1 kB / 1.314 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008485/1.285, allocations: 494.9 kB / 1.315 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/1.285, allocations: 3.938 kB / 1.315 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001079/1.286, allocations: 0.5938 MB / 1.315 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/1.286, allocations: 5.75 kB / 1.315 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.286, allocations: 6.469 kB / 1.315 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/1.286, allocations: 2.469 kB / 1.315 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/1.287, allocations: 102.4 kB / 1.315 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.287, allocations: 2.781 kB / 1.315 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006382/1.287, allocations: 64.75 kB / 1.315 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/1.288, allocations: 23.28 kB / 1.315 GB, free: 15.34 MB / 0.9981 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.0002345/1.288, allocations: 222.7 kB / 1.316 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/1.288, allocations: 77.34 kB / 1.316 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/1.289, allocations: 0.6362 MB / 1.316 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/1.289, allocations: 2.969 kB / 1.316 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.289, allocations: 2.719 kB / 1.316 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/1.289, allocations: 2.906 kB / 1.316 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/1.291, allocations: 1.493 MB / 1.318 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.291, allocations: 6.688 kB / 1.318 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004531/1.292, allocations: 85.95 kB / 1.318 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.292, allocations: 4.125 kB / 1.318 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/1.292, allocations: 14.16 kB / 1.318 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.255e-06/1.292, allocations: 11.22 kB / 1.318 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.292, allocations: 7.625 kB / 1.318 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.293, allocations: 1.022 MB / 1.319 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/1.294, allocations: 196.6 kB / 1.319 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/1.294, allocations: 12.09 kB / 1.319 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005152/1.294, allocations: 52.72 kB / 1.319 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/1.294, allocations: 38.55 kB / 1.319 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/1.294, allocations: 14.72 kB / 1.319 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005329/1.295, allocations: 0.4907 MB / 1.32 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.295, allocations: 0 / 1.32 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006837/1.296, allocations: 200.9 kB / 1.32 GB, free: 14.12 MB / 0.9981 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.0004206/1.296, allocations: 224.3 kB / 1.32 GB, free: 14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008639/1.297, allocations: 496.8 kB / 1.321 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.297, allocations: 2.219 kB / 1.321 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004269/1.297, allocations: 275.4 kB / 1.321 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/1.3, allocations: 492.4 kB / 1.321 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004987/1.305, allocations: 2.017 MB / 1.323 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/1.305, allocations: 0.9608 MB / 1.324 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007923/1.306, allocations: 172.2 kB / 1.324 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.306, allocations: 64.28 kB / 1.324 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.306, allocations: 4 kB / 1.324 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of Templates: time 0.0234/1.329, allocations: 15.12 MB / 1.339 GB, free: 8.871 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches