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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001472/0.001472, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001449/0.001449, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.659/2.659, allocations: 482.4 MB / 0.7553 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001932, allocations: 61.12 kB / 0.9245 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7223/0.7242, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.2712/0.9954, allocations: 239.9 MB / 1.317 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01128/1.007, allocations: 7.148 MB / 1.324 GB, free: 7.043 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/1.008, allocations: 51.69 kB / 1.324 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001427/1.01, allocations: 0.5045 MB / 1.325 GB, free: 6.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003034/1.013, allocations: 1.305 MB / 1.326 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003548/1.016, allocations: 1.602 MB / 1.328 GB, free: 3.578 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002522/1.019, allocations: 1.924 MB / 1.329 GB, free: 1.648 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/1.02, allocations: 0.7972 MB / 1.33 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003306/1.023, allocations: 1.615 MB / 1.332 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008359/1.024, allocations: 0.6653 MB / 1.332 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/1.024, allocations: 72 kB / 1.333 GB, free: 14.48 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002616/1.027, allocations: 1.458 MB / 1.334 GB, free: 13.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/1.027, allocations: 291.1 kB / 1.334 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005122/1.028, allocations: 481.7 kB / 1.335 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/1.03, allocations: 1.613 MB / 1.336 GB, free: 10.64 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.03, allocations: 0 / 1.336 GB, free: 10.64 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/1.03, allocations: 0 / 1.336 GB, free: 10.64 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.03, allocations: 0 / 1.336 GB, free: 10.64 MB / 1.061 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.002226/1.032, allocations: 1.265 MB / 1.338 GB, free: 9.328 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.032, allocations: 12.03 kB / 1.338 GB, free: 9.316 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/1.034, allocations: 274.6 kB / 1.338 GB, free: 9.047 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/1.035, allocations: 0.6632 MB / 1.338 GB, free: 8.336 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/1.035, allocations: 44.94 kB / 1.338 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/1.035, allocations: 52 kB / 1.339 GB, free: 8.242 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.036, allocations: 0.5881 MB / 1.339 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/1.036, allocations: 4 kB / 1.339 GB, free: 7.645 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.368e-05/1.037, allocations: 20 kB / 1.339 GB, free: 7.625 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/1.037, allocations: 12 kB / 1.339 GB, free: 7.613 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/1.038, allocations: 0.6089 MB / 1.34 GB, free: 7.004 MB / 1.061 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.003923/1.042, allocations: 2.887 MB / 1.343 GB, free: 3.867 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006853/1.042, allocations: 403.3 kB / 1.343 GB, free: 3.465 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004889/1.043, allocations: 289.2 kB / 1.343 GB, free: 3.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006862/1.044, allocations: 392.7 kB / 1.344 GB, free: 2.723 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.044, allocations: 38.89 kB / 1.344 GB, free: 2.676 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005342/1.044, allocations: 107.5 kB / 1.344 GB, free: 2.57 MB / 1.061 GB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/1.044, allocations: 4 kB / 1.344 GB, free: 2.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=39): time 0.001841/1.046, allocations: 0.8132 MB / 1.345 GB, free: 1.746 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/1.046, allocations: 67.33 kB / 1.345 GB, free: 1.668 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000877/1.047, allocations: 0.6962 MB / 1.345 GB, free: 0.9609 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/1.047, allocations: 33.7 kB / 1.345 GB, free: 0.9219 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/1.047, allocations: 356.4 kB / 1.346 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/1.047, allocations: 138 kB / 1.346 GB, free: 444 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/1.048, allocations: 97.88 kB / 1.346 GB, free: 340 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.048, allocations: 318 kB / 1.346 GB, free: 16 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/1.048, allocations: 212.6 kB / 1.346 GB, free: 15.81 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/1.049, allocations: 304.7 kB / 1.347 GB, free: 15.48 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009967/1.05, allocations: 0.4889 MB / 1.347 GB, free: 14.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/1.05, allocations: 4 kB / 1.347 GB, free: 14.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001292/1.051, allocations: 0.6169 MB / 1.348 GB, free: 14.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/1.051, allocations: 4 kB / 1.348 GB, free: 14.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.051, allocations: 7.938 kB / 1.348 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/1.051, allocations: 160 / 1.348 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005625/1.052, allocations: 107.8 kB / 1.348 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.052, allocations: 7.938 kB / 1.348 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/1.052, allocations: 35.95 kB / 1.348 GB, free: 14.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/1.053, allocations: 19.98 kB / 1.348 GB, free: 14.16 MB / 1.076 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.0003289/1.053, allocations: 221.7 kB / 1.348 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.053, allocations: 79.06 kB / 1.348 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/1.054, allocations: 0.6496 MB / 1.349 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/1.054, allocations: 4 kB / 1.349 GB, free: 13.2 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.054, allocations: 7.922 kB / 1.349 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/1.054, allocations: 0 / 1.349 GB, free: 13.19 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/1.057, allocations: 1.512 MB / 1.35 GB, free: 11.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/1.057, allocations: 4 kB / 1.35 GB, free: 11.57 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/1.057, allocations: 91.81 kB / 1.35 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/1.057, allocations: 8.406 kB / 1.35 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/1.058, allocations: 12 kB / 1.35 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.058, allocations: 4 kB / 1.35 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.058, allocations: 4 kB / 1.35 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/1.059, allocations: 1.059 MB / 1.351 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002759/1.059, allocations: 200 kB / 1.352 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/1.06, allocations: 12 kB / 1.352 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004762/1.06, allocations: 27.97 kB / 1.352 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/1.06, allocations: 39.89 kB / 1.352 GB, free: 10.05 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/1.06, allocations: 19.94 kB / 1.352 GB, free: 10.03 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006265/1.061, allocations: 499 kB / 1.352 GB, free: 9.551 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.9e-07/1.061, allocations: 0 / 1.352 GB, free: 9.551 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006711/1.062, allocations: 199.8 kB / 1.352 GB, free: 9.355 MB / 1.076 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.0004915/1.062, allocations: 222.8 kB / 1.353 GB, free: 9.137 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.063, allocations: 0.5305 MB / 1.353 GB, free: 8.605 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/1.063, allocations: 0 / 1.353 GB, free: 8.605 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005234/1.064, allocations: 276.7 kB / 1.353 GB, free: 8.336 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002001/1.066, allocations: 467.7 kB / 1.354 GB, free: 7.891 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/1.071, allocations: 1.836 MB / 1.356 GB, free: 5.977 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/1.072, allocations: 0.9574 MB / 1.357 GB, free: 4.992 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/1.072, allocations: 71.42 kB / 1.357 GB, free: 4.922 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/1.072, allocations: 0 / 1.357 GB, free: 4.922 MB / 1.076 GB Notification: Performance of Templates: time 0.01996/1.092, allocations: 12.78 MB / 1.369 GB, free: 8.285 MB / 1.092 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches