Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.001343/0.001343, allocations: 82.33 kB / 19.77 MB, free: 2.016 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.001452/0.001452, allocations: 152.3 kB / 23.01 MB, free: 4.965 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.436/1.436, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.67/2.67, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [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.002132/0.002132, allocations: 67.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3263, allocations: 169.9 MB / 1.117 GB, free: 2.559 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005884/0.3322, allocations: 3.968 MB / 1.121 GB, free: 14.56 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005696/0.3379, allocations: 2.848 MB / 1.124 GB, free: 11.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006708/0.3386, allocations: 27.75 kB / 1.124 GB, free: 11.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3398, allocations: 349.8 kB / 1.124 GB, free: 11.34 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.3417, allocations: 0.6922 MB / 1.125 GB, free: 10.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.3436, allocations: 0.6626 MB / 1.126 GB, free: 9.977 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002714/0.3464, allocations: 1.906 MB / 1.128 GB, free: 8.066 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.3467, allocations: 114.5 kB / 1.128 GB, free: 7.938 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.348, allocations: 0.6074 MB / 1.128 GB, free: 7.328 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.3495, allocations: 0.6732 MB / 1.129 GB, free: 6.652 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000302/0.3498, allocations: 80 kB / 1.129 GB, free: 6.574 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.3509, allocations: 415.4 kB / 1.129 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007386/0.3516, allocations: 490.5 kB / 1.13 GB, free: 5.688 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0009039/0.3525, allocations: 0.5014 MB / 1.13 GB, free: 5.184 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.3547, allocations: 1.502 MB / 1.132 GB, free: 3.676 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3547, allocations: 0 / 1.132 GB, free: 3.676 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3547, allocations: 3.938 kB / 1.132 GB, free: 3.672 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.911e-05/0.3547, allocations: 0 / 1.132 GB, free: 3.672 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.003463/0.3582, allocations: 1.598 MB / 1.133 GB, free: 2.035 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3582, allocations: 8.031 kB / 1.133 GB, free: 2.027 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/0.3586, allocations: 148 kB / 1.134 GB, free: 1.883 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/0.3601, allocations: 0.7858 MB / 1.134 GB, free: 1.059 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.3602, allocations: 45.38 kB / 1.134 GB, free: 1.016 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3603, allocations: 72.3 kB / 1.134 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009763/0.3613, allocations: 0.6101 MB / 1.135 GB, free: 324 kB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3613, allocations: 0 / 1.135 GB, free: 324 kB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.3613, allocations: 16 kB / 1.135 GB, free: 308 kB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.3613, allocations: 12 kB / 1.135 GB, free: 296 kB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5717/0.933, allocations: 0.5581 MB / 1.136 GB, free: 58.25 MB / 1.076 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.003582/0.9366, allocations: 2.236 MB / 1.138 GB, free: 57.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.9377, allocations: 0.8038 MB / 1.139 GB, free: 57.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.9381, allocations: 349.8 kB / 1.139 GB, free: 57.67 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.698e-05/0.9381, allocations: 19 kB / 1.139 GB, free: 57.67 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.9381, allocations: 39.59 kB / 1.139 GB, free: 57.63 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.9381, allocations: 0 / 1.139 GB, free: 57.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.001418/0.9396, allocations: 1.119 MB / 1.14 GB, free: 57.34 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/0.9396, allocations: 59.39 kB / 1.14 GB, free: 57.27 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.9408, allocations: 1.244 MB / 1.141 GB, free: 56.8 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.9409, allocations: 43.84 kB / 1.141 GB, free: 56.75 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.9411, allocations: 470.2 kB / 1.142 GB, free: 56.41 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.9412, allocations: 180.1 kB / 1.142 GB, free: 56.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000198/0.9414, allocations: 213.4 kB / 1.142 GB, free: 56.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.9415, allocations: 350.6 kB / 1.143 GB, free: 55.88 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.942, allocations: 0.6462 MB / 1.143 GB, free: 55.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006974/0.9427, allocations: 0.9699 MB / 1.144 GB, free: 55.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.944, allocations: 1.583 MB / 1.146 GB, free: 54.23 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.944, allocations: 2.844 kB / 1.146 GB, free: 54.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001788/0.9458, allocations: 1.793 MB / 1.147 GB, free: 53.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.9458, allocations: 10.47 kB / 1.147 GB, free: 53.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.9458, allocations: 12.38 kB / 1.147 GB, free: 53.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001844/0.946, allocations: 47.58 kB / 1.148 GB, free: 53.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.947, allocations: 274.2 kB / 1.148 GB, free: 53.55 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00228/0.9493, allocations: 6.704 MB / 1.154 GB, free: 47.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009333/0.9502, allocations: 137.1 kB / 1.154 GB, free: 47.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.9503, allocations: 46.91 kB / 1.154 GB, free: 47.33 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * 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): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.9506, allocations: 303.2 kB / 1.155 GB, free: 47.14 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.9507, allocations: 116.4 kB / 1.155 GB, free: 47.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009472/0.9517, allocations: 0.8419 MB / 1.156 GB, free: 46.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9517, allocations: 6.969 kB / 1.156 GB, free: 46.79 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.9517, allocations: 2.844 kB / 1.156 GB, free: 46.79 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.9517, allocations: 3.422 kB / 1.156 GB, free: 46.79 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.9524, allocations: 0.6732 MB / 1.156 GB, free: 46.51 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.9524, allocations: 2.594 kB / 1.156 GB, free: 46.51 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.9529, allocations: 111 kB / 1.156 GB, free: 46.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-05/0.953, allocations: 39.02 kB / 1.157 GB, free: 46.49 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.953, allocations: 11.12 kB / 1.157 GB, free: 46.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006373/0.9536, allocations: 1.319 MB / 1.158 GB, free: 45.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9536, allocations: 6.438 kB / 1.158 GB, free: 45.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/0.955, allocations: 1.373 MB / 1.159 GB, free: 44.72 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003922/0.9554, allocations: 191.7 kB / 1.159 GB, free: 44.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.9555, allocations: 15.06 kB / 1.159 GB, free: 44.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.9561, allocations: 38.34 kB / 1.159 GB, free: 44.61 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.394e-05/0.9562, allocations: 28.16 kB / 1.159 GB, free: 44.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.9562, allocations: 16.23 kB / 1.159 GB, free: 44.6 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001018/0.9572, allocations: 0.8288 MB / 1.16 GB, free: 44.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9572, allocations: 0.75 kB / 1.16 GB, free: 44.27 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009982/0.9582, allocations: 373.8 kB / 1.161 GB, free: 44.24 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004489/0.9587, allocations: 275.8 kB / 1.161 GB, free: 44.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001939/0.9606, allocations: 1.389 MB / 1.162 GB, free: 43.64 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9606, allocations: 0 / 1.162 GB, free: 43.64 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000433/0.9611, allocations: 464.1 kB / 1.163 GB, free: 43.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009239/0.962, allocations: 231.8 kB / 1.163 GB, free: 43.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.9648, allocations: 2.553 MB / 1.165 GB, free: 41.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.9652, allocations: 0.505 MB / 1.166 GB, free: 41.85 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004373/0.9656, allocations: 205.4 kB / 1.166 GB, free: 41.82 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.9658, allocations: 66.84 kB / 1.166 GB, free: 41.81 MB / 1.076 GB Notification: Performance of SimCode: time 8.71e-07/0.9658, allocations: 2.312 kB / 1.166 GB, free: 41.81 MB / 1.076 GB Notification: Performance of Templates: time 0.02905/0.9949, allocations: 15.7 MB / 1.181 GB, free: 40.2 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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: 9.139374310034327]