Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.001761/0.001761, allocations: 108.8 kB / 16.41 MB, free: 6.516 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.002308/0.002308, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.914/1.914, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.55/2.55, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001656/0.001657, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9316/0.9333, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes): time 0.09034/1.024, allocations: 87.53 MB / 1.253 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.04975/1.073, allocations: 32.1 MB / 1.284 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007967/1.082, allocations: 167 kB / 1.284 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006342/1.088, allocations: 1.751 MB / 1.286 GB, free: 9.891 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01662/1.105, allocations: 5.347 MB / 1.291 GB, free: 4.52 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02761/1.132, allocations: 9.829 MB / 1.301 GB, free: 10.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01988/1.152, allocations: 13.17 MB / 1.314 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008459/1.161, allocations: 4.094 MB / 1.318 GB, free: 9.348 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01363/1.174, allocations: 5.428 MB / 1.323 GB, free: 3.902 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/1.186, allocations: 4.766 MB / 1.328 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.003087/1.189, allocations: 468 kB / 1.328 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01111/1.2, allocations: 2.734 MB / 1.331 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.004641/1.204, allocations: 2.092 MB / 1.333 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.007875/1.212, allocations: 2.831 MB / 1.336 GB, free: 6.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01845/1.231, allocations: 8.537 MB / 1.344 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.231, allocations: 0 / 1.344 GB, free: 14.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.224e-06/1.231, allocations: 0 / 1.344 GB, free: 14.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003603/1.231, allocations: 4 kB / 1.344 GB, free: 14.42 MB / 1.076 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.02415/1.255, allocations: 5.967 MB / 1.35 GB, free: 8.375 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/1.256, allocations: 12.92 kB / 1.35 GB, free: 8.363 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003589/1.259, allocations: 0.5795 MB / 1.35 GB, free: 7.777 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/1.27, allocations: 3.362 MB / 1.354 GB, free: 4.344 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/1.271, allocations: 291.3 kB / 1.354 GB, free: 4.059 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/1.272, allocations: 395.7 kB / 1.354 GB, free: 3.672 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/1.288, allocations: 6.016 MB / 1.36 GB, free: 13.43 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001917/1.288, allocations: 7.938 kB / 1.36 GB, free: 13.42 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001281/1.29, allocations: 171.9 kB / 1.36 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006541/1.29, allocations: 455 kB / 1.361 GB, free: 12.8 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/1.303, allocations: 5.341 MB / 1.366 GB, free: 7.457 MB / 1.092 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.04662/1.349, allocations: 24.24 MB / 1.39 GB, free: 13.69 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009054/1.358, allocations: 4.512 MB / 1.394 GB, free: 9.176 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004044/1.363, allocations: 2.423 MB / 1.396 GB, free: 6.746 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02451/1.387, allocations: 12.41 MB / 1.409 GB, free: 9.316 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004157/1.391, allocations: 2.241 MB / 1.411 GB, free: 7.039 MB / 1.139 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002279/1.394, allocations: 440.4 kB / 1.411 GB, free: 6.605 MB / 1.139 GB Notification: Performance of pre-optimization done (n=310): time 1.221e-05/1.394, allocations: 0 / 1.411 GB, free: 6.605 MB / 1.139 GB Notification: Performance of matching and sorting (n=334): time 0.03314/1.427, allocations: 13.16 MB / 1.424 GB, free: 9.375 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.427, allocations: 111.7 kB / 1.424 GB, free: 9.246 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006664/1.434, allocations: 3.155 MB / 1.427 GB, free: 6.105 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0007202/1.434, allocations: 101.7 kB / 1.427 GB, free: 6 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.002073/1.436, allocations: 2.041 MB / 1.429 GB, free: 3.938 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001358/1.438, allocations: 1.163 MB / 1.43 GB, free: 2.758 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001731/1.44, allocations: 0.7671 MB / 1.431 GB, free: 1.977 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 9.578e-05/1.44, allocations: 305.1 kB / 1.431 GB, free: 1.676 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/1.443, allocations: 1.969 MB / 1.433 GB, free: 15.68 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004297/1.447, allocations: 2.981 MB / 1.436 GB, free: 12.29 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00782/1.455, allocations: 5.217 MB / 1.441 GB, free: 6.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.743e-05/1.455, allocations: 12 kB / 1.441 GB, free: 6.648 MB / 1.17 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01091/1.466, allocations: 5.602 MB / 1.447 GB, free: 1.016 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/1.466, allocations: 16 kB / 1.447 GB, free: 1 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-05/1.466, allocations: 28 kB / 1.447 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.359e-05/1.466, allocations: 48 kB / 1.447 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03347/1.5, allocations: 4.115 MB / 1.451 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/1.503, allocations: 3.969 MB / 1.455 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004786/1.508, allocations: 208 kB / 1.455 GB, free: 8.488 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001177/1.509, allocations: 199.9 kB / 1.455 GB, free: 8.293 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006471/1.516, allocations: 2.842 MB / 1.458 GB, free: 5.438 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004934/1.521, allocations: 2.944 MB / 1.461 GB, free: 2.062 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008998/1.53, allocations: 5.088 MB / 1.466 GB, free: 12.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.029e-05/1.53, allocations: 8 kB / 1.466 GB, free: 12.54 MB / 1.201 GB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.01325/1.543, allocations: 5.452 MB / 1.471 GB, free: 7.051 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-05/1.543, allocations: 23.92 kB / 1.471 GB, free: 7.027 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.804e-05/1.543, allocations: 28 kB / 1.471 GB, free: 7 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.568e-05/1.543, allocations: 56.06 kB / 1.471 GB, free: 6.945 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006644/1.55, allocations: 1.342 MB / 1.473 GB, free: 5.602 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/1.55, allocations: 67.78 kB / 1.473 GB, free: 5.535 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/1.554, allocations: 215.8 kB / 1.473 GB, free: 5.324 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008689/1.555, allocations: 195.9 kB / 1.473 GB, free: 5.133 MB / 1.201 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.001776/1.557, allocations: 437.6 kB / 1.473 GB, free: 4.699 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.559, allocations: 403.1 kB / 1.474 GB, free: 4.301 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.57, allocations: 5.385 MB / 1.479 GB, free: 14.92 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007225/1.578, allocations: 4.273 MB / 1.483 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.578, allocations: 0 / 1.483 GB, free: 10.58 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003014/1.581, allocations: 0.9407 MB / 1.484 GB, free: 9.613 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/1.582, allocations: 72 kB / 1.484 GB, free: 9.543 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003359/1.585, allocations: 151.7 kB / 1.484 GB, free: 9.395 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005809/1.586, allocations: 226.7 kB / 1.485 GB, free: 9.172 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01335/1.599, allocations: 5.438 MB / 1.49 GB, free: 3.672 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01322/1.613, allocations: 7.655 MB / 1.497 GB, free: 11.96 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003511/1.616, allocations: 2.27 MB / 1.5 GB, free: 9.684 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.004188/1.62, allocations: 2.084 MB / 1.502 GB, free: 7.617 MB / 1.232 GB Notification: Performance of Backend: time 2.414e-06/1.62, allocations: 0 / 1.502 GB, free: 7.617 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.06336/1.684, allocations: 11.09 MB / 1.513 GB, free: 12.67 MB / 1.248 GB Notification: Performance of SimCode: time 0.02167/1.705, allocations: 9.931 MB / 1.522 GB, free: 2.707 MB / 1.248 GB Notification: Performance of Templates: time 0.864/2.569, allocations: 102.9 MB / 1.623 GB, free: 321.6 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches