Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001941/0.001941, allocations: 192.5 kB / 16.14 MB, free: 6.711 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.052/3.052, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.94 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3936, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005932/0.3996, allocations: 4.368 MB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005236/0.4049, allocations: 3 MB / 1.075 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/0.4056, allocations: 15.88 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.4067, allocations: 322.2 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.4082, allocations: 0.5983 MB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001669/0.4099, allocations: 0.5536 MB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002531/0.4124, allocations: 2.19 MB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002986/0.4127, allocations: 157.8 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.4135, allocations: 0.5136 MB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008025/0.4144, allocations: 0.685 MB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.4145, allocations: 48 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007224/0.4152, allocations: 395.4 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.4156, allocations: 438.6 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005403/0.4162, allocations: 0.5593 MB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.4175, allocations: 1.436 MB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4175, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4175, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.4175, allocations: 0 / 1.082 GB, free: 11.6 MB / 0.8419 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.002935/0.4205, allocations: 1.624 MB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4205, allocations: 12.03 kB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.4208, allocations: 131.3 kB / 1.084 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.422, allocations: 0.8115 MB / 1.085 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.4221, allocations: 41.38 kB / 1.085 GB, free: 8.879 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.541e-05/0.4222, allocations: 64.38 kB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.4231, allocations: 0.6178 MB / 1.086 GB, free: 8.18 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.4231, allocations: 4 kB / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.4232, allocations: 16 kB / 1.086 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4232, allocations: 11.94 kB / 1.086 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007653/0.424, allocations: 0.566 MB / 1.086 GB, free: 7.582 MB / 0.8419 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.004329/0.4283, allocations: 3.286 MB / 1.089 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.4297, allocations: 0.8401 MB / 1.09 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.4302, allocations: 361.4 kB / 1.091 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/0.4302, allocations: 40.19 kB / 1.091 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.4303, allocations: 34.94 kB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.933e-06/0.4303, allocations: 0 / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001835/0.4321, allocations: 1.179 MB / 1.092 GB, free: 1.555 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.4322, allocations: 55.41 kB / 1.092 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.434, allocations: 1.227 MB / 1.093 GB, free: 256 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.095e-05/0.4341, allocations: 41.7 kB / 1.093 GB, free: 208 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004022/0.4345, allocations: 460.7 kB / 1.094 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.4346, allocations: 173.5 kB / 1.094 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.4349, allocations: 214.5 kB / 1.094 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4351, allocations: 345.9 kB / 1.094 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.4358, allocations: 0.6426 MB / 1.095 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009883/0.4368, allocations: 0.9708 MB / 1.096 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.4386, allocations: 1.597 MB / 1.097 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4386, allocations: 0 / 1.097 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002383/0.441, allocations: 1.783 MB / 1.099 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.441, allocations: 11.94 kB / 1.099 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.794e-05/0.441, allocations: 12 kB / 1.099 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002145/0.4413, allocations: 44.83 kB / 1.099 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.4424, allocations: 268 kB / 1.099 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003813/0.4462, allocations: 6.729 MB / 1.106 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.4474, allocations: 130.6 kB / 1.106 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.4475, allocations: 36 kB / 1.106 GB, free: 2.176 MB / 0.8575 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.0004955/0.448, allocations: 315.4 kB / 1.106 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.4482, allocations: 110.5 kB / 1.107 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.4494, allocations: 0.8452 MB / 1.107 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4494, allocations: 8 kB / 1.107 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.4494, allocations: 3.938 kB / 1.107 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4494, allocations: 7.984 kB / 1.107 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.4504, allocations: 0.9113 MB / 1.108 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4505, allocations: 4 kB / 1.108 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.451, allocations: 107.9 kB / 1.108 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.4511, allocations: 36.77 kB / 1.108 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.931e-05/0.4512, allocations: 15.98 kB / 1.108 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009298/0.4521, allocations: 1.338 MB / 1.11 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4521, allocations: 0 / 1.11 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4537, allocations: 1.37 MB / 1.111 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.454, allocations: 259.5 kB / 1.111 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.4542, allocations: 23.98 kB / 1.111 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005558/0.4547, allocations: 31.84 kB / 1.111 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.169e-05/0.4548, allocations: 39.89 kB / 1.111 GB, free: 12.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.4549, allocations: 12 kB / 1.111 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001099/0.456, allocations: 0.8193 MB / 1.112 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.456, allocations: 0 / 1.112 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001144/0.4571, allocations: 367.6 kB / 1.113 GB, free: 11.32 MB / 0.8731 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.0005597/0.4577, allocations: 276.2 kB / 1.113 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00231/0.46, allocations: 1.498 MB / 1.114 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.46, allocations: 2 kB / 1.114 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005442/0.4606, allocations: 478.3 kB / 1.115 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4617, allocations: 210.4 kB / 1.115 GB, free: 8.84 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003549/0.4652, allocations: 2.864 MB / 1.118 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006532/0.4659, allocations: 1.102 MB / 1.119 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0005381/0.4664, allocations: 199.1 kB / 1.119 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.4666, allocations: 67.44 kB / 1.119 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/0.4666, allocations: 4 kB / 1.119 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of Templates: time 0.02465/0.4913, allocations: 13.92 MB / 1.133 GB, free: 6.781 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches