Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002495/0.002495, allocations: 211.3 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.695/1.695, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.465/3.465, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 66.88 kB / 1.155 GB, free: 25.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5021/0.5042, allocations: 176.1 MB / 1.327 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes): time 0.1096/0.6138, allocations: 80.46 MB / 1.406 GB, free: 180 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.07242/0.6862, allocations: 29.91 MB / 1.435 GB, free: 2.188 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007719/0.6939, allocations: 230 kB / 1.435 GB, free: 1.961 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.007556/0.7015, allocations: 1.732 MB / 1.437 GB, free: 224 kB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0209/0.7224, allocations: 5.495 MB / 1.442 GB, free: 10.7 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.03253/0.7549, allocations: 10.65 MB / 1.453 GB, free: 64 kB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.02696/0.7818, allocations: 13.84 MB / 1.466 GB, free: 2.184 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00938/0.7912, allocations: 3.528 MB / 1.47 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01784/0.8091, allocations: 5.884 MB / 1.475 GB, free: 8.688 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01311/0.8222, allocations: 5.162 MB / 1.48 GB, free: 3.508 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.003688/0.8259, allocations: 468 kB / 1.481 GB, free: 3.051 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01175/0.8376, allocations: 2.477 MB / 1.483 GB, free: 0.5703 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.006102/0.8437, allocations: 2.162 MB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.854, allocations: 2.38 MB / 1.488 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.02411/0.8781, allocations: 8.688 MB / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.8781, allocations: 0 / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8781, allocations: 0 / 1.496 GB, free: 3.293 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0004104/0.8786, allocations: 4 kB / 1.496 GB, free: 3.289 MB / 1.186 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.02452/0.9031, allocations: 6.035 MB / 1.502 GB, free: 13.19 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 7.442e-05/0.9031, allocations: 8.031 kB / 1.502 GB, free: 13.18 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003772/0.9069, allocations: 0.6488 MB / 1.503 GB, free: 12.53 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/0.9174, allocations: 3.258 MB / 1.506 GB, free: 9.195 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003974/0.9178, allocations: 291.3 kB / 1.506 GB, free: 8.91 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/0.9197, allocations: 383.9 kB / 1.506 GB, free: 8.535 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.9343, allocations: 7.003 MB / 1.513 GB, free: 1.074 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.9344, allocations: 15.89 kB / 1.513 GB, free: 1.059 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005582/0.935, allocations: 163.9 kB / 1.513 GB, free: 0.8984 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000633/0.9356, allocations: 451 kB / 1.514 GB, free: 468 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01156/0.9472, allocations: 5.446 MB / 1.519 GB, free: 11 MB / 1.217 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.04405/0.9912, allocations: 17.74 MB / 1.537 GB, free: 8.957 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/1.002, allocations: 4.29 MB / 1.541 GB, free: 4.664 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005094/1.007, allocations: 2.254 MB / 1.543 GB, free: 2.406 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03063/1.038, allocations: 7.992 MB / 1.551 GB, free: 10.38 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007705/1.046, allocations: 3.184 MB / 1.554 GB, free: 6.934 MB / 1.248 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004297/1.05, allocations: 485.8 kB / 1.554 GB, free: 6.457 MB / 1.248 GB Notification: Performance of pre-optimization done (n=310): time 2.875e-05/1.05, allocations: 0 / 1.554 GB, free: 6.457 MB / 1.248 GB Notification: Performance of matching and sorting (n=334): time 0.04184/1.092, allocations: 13.2 MB / 1.567 GB, free: 9.23 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.092, allocations: 111.7 kB / 1.567 GB, free: 9.102 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006666/1.099, allocations: 2.791 MB / 1.57 GB, free: 6.305 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.001334/1.1, allocations: 93.7 kB / 1.57 GB, free: 6.207 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002695/1.103, allocations: 2.122 MB / 1.572 GB, free: 4.07 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.002384/1.105, allocations: 1.212 MB / 1.573 GB, free: 2.848 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003613/1.109, allocations: 0.7752 MB / 1.574 GB, free: 2.059 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.109, allocations: 305.1 kB / 1.574 GB, free: 1.758 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004445/1.113, allocations: 1.981 MB / 1.576 GB, free: 15.75 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006092/1.119, allocations: 3.498 MB / 1.58 GB, free: 11.71 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009801/1.129, allocations: 5.232 MB / 1.585 GB, free: 6.074 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.144e-05/1.129, allocations: 8 kB / 1.585 GB, free: 6.066 MB / 1.279 GB Notification: Performance of matching and sorting (n=512) (initialization): time 0.01596/1.145, allocations: 5.627 MB / 1.59 GB, free: 420 kB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/1.145, allocations: 16 kB / 1.59 GB, free: 404 kB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-05/1.145, allocations: 28 kB / 1.59 GB, free: 376 kB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001146/1.145, allocations: 48 kB / 1.59 GB, free: 328 kB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03892/1.184, allocations: 4.151 MB / 1.595 GB, free: 12.16 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/1.189, allocations: 3.969 MB / 1.598 GB, free: 8.055 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005783/1.194, allocations: 211.9 kB / 1.599 GB, free: 7.848 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.196, allocations: 199.9 kB / 1.599 GB, free: 7.652 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006894/1.203, allocations: 2.854 MB / 1.602 GB, free: 4.785 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005476/1.208, allocations: 3.461 MB / 1.605 GB, free: 0.7656 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 1.152/2.361, allocations: 5.1 MB / 1.61 GB, free: 262.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.974e-05/2.361, allocations: 9.531 kB / 1.61 GB, free: 262.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=512) (initialization_lambda0): time 0.01409/2.375, allocations: 5.459 MB / 1.615 GB, free: 260.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/2.375, allocations: 22.56 kB / 1.615 GB, free: 260.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.036e-05/2.375, allocations: 28.31 kB / 1.615 GB, free: 260.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.983e-05/2.375, allocations: 52.38 kB / 1.615 GB, free: 260.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008356/2.383, allocations: 1.35 MB / 1.617 GB, free: 260.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000343/2.384, allocations: 71.25 kB / 1.617 GB, free: 260.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005114/2.389, allocations: 211 kB / 1.617 GB, free: 260.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/2.39, allocations: 196.4 kB / 1.617 GB, free: 260.5 MB / 1.295 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.001831/2.392, allocations: 435.5 kB / 1.618 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.394, allocations: 393.1 kB / 1.618 GB, free: 260.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/2.407, allocations: 5.461 MB / 1.623 GB, free: 258.1 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008733/2.415, allocations: 4.362 MB / 1.628 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/2.415, allocations: 0.7656 kB / 1.628 GB, free: 256.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003967/2.419, allocations: 0.8708 MB / 1.628 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001409/2.421, allocations: 73.38 kB / 1.628 GB, free: 256.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/2.424, allocations: 153.6 kB / 1.629 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006936/2.425, allocations: 242.3 kB / 1.629 GB, free: 256.1 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01559/2.44, allocations: 5.5 MB / 1.634 GB, free: 254.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01362/2.454, allocations: 7.78 MB / 1.642 GB, free: 251.3 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003429/2.457, allocations: 2.128 MB / 1.644 GB, free: 250.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.004942/2.462, allocations: 1.781 MB / 1.646 GB, free: 250 MB / 1.295 GB Notification: Performance of Backend: time 1.433e-06/2.462, allocations: 0 / 1.646 GB, free: 250 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.07581/2.538, allocations: 10.92 MB / 1.656 GB, free: 244 MB / 1.295 GB Notification: Performance of SimCode: time 0.02358/2.562, allocations: 9.885 MB / 1.666 GB, free: 234.3 MB / 1.295 GB Notification: Performance of Templates: time 0.1668/2.729, allocations: 112.8 MB / 1.776 GB, free: 122.6 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.MSLAIT2Nodes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.527528043996426]