Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem_p1.T|pip0.port_a.m_flow|senTem_p2.T|pip2.port_a.m_flow|senTem_p3.T|pip3.port_a.m_flow|senTem_p4.T|pip4.port_a.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTem_p1.T|pip0.port_a.m_flow|senTem_p2.T|pip2.port_a.m_flow|senTem_p3.T|pip3.port_a.m_flow|senTem_p4.T|pip4.port_a.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001429, allocations: 113.7 kB / 16.38 MB, free: 6.012 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.001549/0.001549, allocations: 186.8 kB / 17.31 MB, free: 5.621 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 442.6 MB / 0.7166 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 67.52 kB / 0.8774 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.347, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes): time 0.6882/1.035, allocations: 87.54 MB / 1.112 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.05747/1.093, allocations: 32.08 MB / 1.144 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008976/1.102, allocations: 168.1 kB / 1.144 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008537/1.11, allocations: 1.721 MB / 1.145 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.02034/1.131, allocations: 5.171 MB / 1.15 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.03303/1.164, allocations: 9.798 MB / 1.16 GB, free: 8.004 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.03004/1.194, allocations: 13.15 MB / 1.173 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/1.205, allocations: 4.095 MB / 1.177 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01696/1.222, allocations: 5.326 MB / 1.182 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01319/1.235, allocations: 4.753 MB / 1.187 GB, free: 8.281 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.003664/1.239, allocations: 469.8 kB / 1.187 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/1.252, allocations: 2.735 MB / 1.19 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005268/1.258, allocations: 2.096 MB / 1.192 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.009674/1.267, allocations: 2.835 MB / 1.195 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.02272/1.29, allocations: 8.537 MB / 1.203 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.29, allocations: 0 / 1.203 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.632e-06/1.29, allocations: 0 / 1.203 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004485/1.291, allocations: 3.938 kB / 1.203 GB, free: 9.246 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 0.02416/1.315, allocations: 5.967 MB / 1.209 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/1.315, allocations: 8.031 kB / 1.209 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003946/1.319, allocations: 0.5795 MB / 1.209 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009515/1.328, allocations: 3.366 MB / 1.213 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/1.329, allocations: 291.2 kB / 1.213 GB, free: 14.88 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001487/1.33, allocations: 387.8 kB / 1.213 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01103/1.341, allocations: 6.023 MB / 1.219 GB, free: 8.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.88e-05/1.341, allocations: 15.78 kB / 1.219 GB, free: 8.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004925/1.342, allocations: 163.9 kB / 1.219 GB, free: 8.074 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005634/1.342, allocations: 451 kB / 1.22 GB, free: 7.633 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/1.353, allocations: 5.349 MB / 1.225 GB, free: 2.277 MB / 0.92 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.04263/1.395, allocations: 24.25 MB / 1.249 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008227/1.403, allocations: 4.51 MB / 1.253 GB, free: 3.996 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004077/1.408, allocations: 2.427 MB / 1.256 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02314/1.431, allocations: 12.39 MB / 1.268 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003745/1.435, allocations: 2.241 MB / 1.27 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00247/1.437, allocations: 444.4 kB / 1.27 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=310): time 1.151e-05/1.437, allocations: 0 / 1.27 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=334): time 0.03112/1.468, allocations: 13.15 MB / 1.283 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/1.468, allocations: 115.7 kB / 1.283 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005023/1.473, allocations: 3.155 MB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0009843/1.474, allocations: 101.7 kB / 1.286 GB, free: 0.8516 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002019/1.476, allocations: 2.045 MB / 1.288 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/1.478, allocations: 1.159 MB / 1.289 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001302/1.48, allocations: 0.7633 MB / 1.29 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.48, allocations: 301.1 kB / 1.291 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003135/1.483, allocations: 1.977 MB / 1.292 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004258/1.487, allocations: 2.984 MB / 1.295 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008167/1.495, allocations: 5.201 MB / 1.3 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/1.495, allocations: 8 kB / 1.3 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01049/1.506, allocations: 5.606 MB / 1.306 GB, free: 11.88 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/1.506, allocations: 16 kB / 1.306 GB, free: 11.86 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-05/1.506, allocations: 28 kB / 1.306 GB, free: 11.84 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.531e-05/1.506, allocations: 52.06 kB / 1.306 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03091/1.537, allocations: 4.115 MB / 1.31 GB, free: 7.664 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/1.54, allocations: 3.977 MB / 1.314 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004964/1.545, allocations: 211.8 kB / 1.314 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008187/1.546, allocations: 199.9 kB / 1.314 GB, free: 3.145 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005274/1.551, allocations: 2.842 MB / 1.317 GB, free: 296 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003958/1.555, allocations: 2.932 MB / 1.32 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007161/1.562, allocations: 5.088 MB / 1.325 GB, free: 7.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.871e-05/1.562, allocations: 8 kB / 1.325 GB, free: 7.398 MB / 1.029 GB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.01016/1.573, allocations: 5.46 MB / 1.33 GB, free: 1.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/1.573, allocations: 19.98 kB / 1.33 GB, free: 1.887 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/1.573, allocations: 31.94 kB / 1.33 GB, free: 1.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.825e-05/1.573, allocations: 52.72 kB / 1.33 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/1.579, allocations: 1.342 MB / 1.332 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001105/1.579, allocations: 67.78 kB / 1.332 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004031/1.583, allocations: 207.9 kB / 1.332 GB, free: 196 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005751/1.583, allocations: 196 kB / 1.332 GB, free: 16 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.DataReader.nextTimeEvent,$whenCondition1,lessThreshold.y,DataReader.nextTimeEventScaled,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001246/1.585, allocations: 448.8 kB / 1.333 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.586, allocations: 411 kB / 1.333 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009173/1.595, allocations: 5.369 MB / 1.338 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006232/1.601, allocations: 4.277 MB / 1.342 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.601, allocations: 4 kB / 1.342 GB, free: 5.457 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002528/1.604, allocations: 0.9482 MB / 1.343 GB, free: 4.488 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008402/1.605, allocations: 72 kB / 1.343 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.607, allocations: 147.8 kB / 1.343 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004486/1.608, allocations: 222.7 kB / 1.344 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01161/1.619, allocations: 5.435 MB / 1.349 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01189/1.631, allocations: 7.66 MB / 1.356 GB, free: 6.84 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00319/1.634, allocations: 2.261 MB / 1.359 GB, free: 4.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.003585/1.638, allocations: 2.08 MB / 1.361 GB, free: 2.508 MB / 1.061 GB Notification: Performance of Backend: time 4e-07/1.638, allocations: 0 / 1.361 GB, free: 2.508 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.05685/1.695, allocations: 11.1 MB / 1.372 GB, free: 7.629 MB / 1.076 GB Notification: Performance of SimCode: time 0.01924/1.714, allocations: 9.921 MB / 1.381 GB, free: 13.68 MB / 1.092 GB Notification: Performance of Templates: time 0.1606/1.875, allocations: 101.4 MB / 1.48 GB, free: 9.02 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches