Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002378/0.002378, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 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.002879/0.002879, allocations: 161.7 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.627/1.627, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.07/3.07, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.191e-05/3.42e-05, allocations: 5.344 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.01185/0.01189, allocations: 4.324 MB / 0.815 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01073/0.02262, allocations: 2.954 MB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007719/0.02339, allocations: 27.75 kB / 0.8179 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.02522, allocations: 355.2 kB / 0.8182 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.00291/0.02813, allocations: 0.7095 MB / 0.8189 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.003136/0.03126, allocations: 0.6743 MB / 0.8196 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002944/0.03421, allocations: 1.941 MB / 0.8215 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.0345, allocations: 118.4 kB / 0.8216 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.03602, allocations: 0.8276 MB / 0.8224 GB, free: 6.188 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001349/0.03737, allocations: 0.6156 MB / 0.823 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.03753, allocations: 76.69 kB / 0.8231 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009327/0.03847, allocations: 419.2 kB / 0.8235 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.03914, allocations: 0.5049 MB / 0.824 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.03974, allocations: 419 kB / 0.8244 GB, free: 4.172 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.0418, allocations: 1.515 MB / 0.8258 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.04181, allocations: 0 / 0.8258 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.703e-06/0.04181, allocations: 4 kB / 0.8259 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.04182, allocations: 0.8438 kB / 0.8259 GB, free: 2.648 MB / 0.7761 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.003557/0.04538, allocations: 1.758 MB / 0.8276 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.04542, allocations: 8.031 kB / 0.8276 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004907/0.04591, allocations: 176 kB / 0.8277 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.04753, allocations: 0.785 MB / 0.8285 GB, free: 15.86 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.04759, allocations: 45.38 kB / 0.8286 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.04772, allocations: 67.73 kB / 0.8286 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000801/0.04852, allocations: 423.4 kB / 0.829 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.04854, allocations: 4.125 kB / 0.829 GB, free: 15.31 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.757e-05/0.04859, allocations: 20.12 kB / 0.829 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.04861, allocations: 8 kB / 0.8291 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.04912, allocations: 211.8 kB / 0.8293 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.05381, allocations: 2.242 MB / 0.8314 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.0549, allocations: 398.9 kB / 0.8318 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002737/0.05517, allocations: 128.3 kB / 0.8319 GB, free: 12.25 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-05/0.05526, allocations: 26.02 kB / 0.832 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/0.0553, allocations: 45.77 kB / 0.832 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=45): time 1.843e-06/0.0553, allocations: 0 / 0.832 GB, free: 12.17 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.001331/0.05663, allocations: 0.4971 MB / 0.8325 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.05669, allocations: 59.41 kB / 0.8326 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/0.05873, allocations: 1.357 MB / 0.8339 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.05879, allocations: 37.7 kB / 0.8339 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/0.05939, allocations: 0.5664 MB / 0.8345 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.05963, allocations: 194.4 kB / 0.8347 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/0.06002, allocations: 256.2 kB / 0.8349 GB, free: 9.16 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003599/0.06038, allocations: 0.5472 MB / 0.8354 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004679/0.06084, allocations: 222.2 kB / 0.8357 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001161/0.062, allocations: 0.7065 MB / 0.8363 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.06424, allocations: 1.023 MB / 0.8373 GB, free: 6.27 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.06425, allocations: 4 kB / 0.8373 GB, free: 6.266 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002051/0.0663, allocations: 1.005 MB / 0.8383 GB, free: 5.246 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.06633, allocations: 10.66 kB / 0.8383 GB, free: 5.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.06636, allocations: 20.03 kB / 0.8384 GB, free: 5.219 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000344/0.06671, allocations: 55.64 kB / 0.8384 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.06792, allocations: 263.6 kB / 0.8387 GB, free: 4.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006853/0.07477, allocations: 9.116 MB / 0.8476 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.07606, allocations: 127 kB / 0.8477 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.07613, allocations: 47.98 kB / 0.8477 GB, free: 11.26 MB / 0.8073 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.0004386/0.07657, allocations: 252.2 kB / 0.848 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.0768, allocations: 131.2 kB / 0.8481 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009563/0.07775, allocations: 418.1 kB / 0.8485 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.07776, allocations: 12.06 kB / 0.8485 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.07777, allocations: 0 / 0.8485 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.07778, allocations: 7.984 kB / 0.8485 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.07894, allocations: 0.708 MB / 0.8492 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.07895, allocations: 0 / 0.8492 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.07953, allocations: 107.9 kB / 0.8493 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000236/0.07977, allocations: 39.66 kB / 0.8493 GB, free: 9.547 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/0.07981, allocations: 15.98 kB / 0.8494 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.08184, allocations: 1.756 MB / 0.8511 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.08185, allocations: 3.938 kB / 0.8511 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.08314, allocations: 0.6873 MB / 0.8517 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.08366, allocations: 191 kB / 0.8519 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.08378, allocations: 12 kB / 0.8519 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.08436, allocations: 27.95 kB / 0.852 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.08445, allocations: 27.95 kB / 0.852 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.141e-05/0.08448, allocations: 15.98 kB / 0.852 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001254/0.08574, allocations: 0.7998 MB / 0.8528 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.08574, allocations: 0 / 0.8528 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001143/0.08688, allocations: 367.6 kB / 0.8531 GB, free: 5.508 MB / 0.8073 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.0006474/0.08753, allocations: 294.7 kB / 0.8534 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.08965, allocations: 0.8798 MB / 0.8543 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.08966, allocations: 0 / 0.8543 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004996/0.09016, allocations: 333.9 kB / 0.8546 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.09127, allocations: 231.1 kB / 0.8548 GB, free: 3.723 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.09461, allocations: 2 MB / 0.8568 GB, free: 1.691 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.09522, allocations: 0.4951 MB / 0.8573 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004943/0.09571, allocations: 167.1 kB / 0.8574 GB, free: 0.9961 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.09593, allocations: 72.5 kB / 0.8575 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of SimCode: time 1.473e-06/0.09593, allocations: 0 / 0.8575 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of Templates: time 0.03116/0.1271, allocations: 15.56 MB / 0.8727 GB, free: 1.691 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.905044846003875]