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.008837/0.008837, allocations: 101.7 kB / 15.73 MB, free: 5.609 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.00199/0.00199, allocations: 193 kB / 16.67 MB, free: 5.527 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.582/2.582, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63.89 kB / 1.069 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9163/0.9176, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005432/0.9231, allocations: 4.348 MB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005049/0.9281, allocations: 2.956 MB / 1.233 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.9285, allocations: 23.88 kB / 1.233 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009786/0.9295, allocations: 362.7 kB / 1.233 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.9307, allocations: 0.6441 MB / 1.234 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.9322, allocations: 0.643 MB / 1.234 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001888/0.9341, allocations: 1.878 MB / 1.236 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.9344, allocations: 177.9 kB / 1.236 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006484/0.935, allocations: 0.5801 MB / 1.237 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008626/0.9359, allocations: 0.6615 MB / 1.238 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.9361, allocations: 76 kB / 1.238 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.9368, allocations: 419.4 kB / 1.238 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004735/0.9373, allocations: 466.7 kB / 1.238 GB, free: 312 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005715/0.9378, allocations: 0.5945 MB / 1.239 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.9394, allocations: 1.478 MB / 1.24 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.9394, allocations: 0 / 1.24 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.363e-06/0.9394, allocations: 0 / 1.24 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.834e-05/0.9394, allocations: 4 kB / 1.24 GB, free: 14.22 MB / 0.9669 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.002807/0.9423, allocations: 1.658 MB / 1.242 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.9423, allocations: 8.031 kB / 1.242 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.9425, allocations: 144 kB / 1.242 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.9437, allocations: 0.8475 MB / 1.243 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.9438, allocations: 45.38 kB / 1.243 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.877e-05/0.9439, allocations: 60.38 kB / 1.243 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/0.9448, allocations: 0.6217 MB / 1.244 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.9448, allocations: 0 / 1.244 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.9449, allocations: 20 kB / 1.244 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.748e-05/0.9449, allocations: 16 kB / 1.244 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.9457, allocations: 0.5543 MB / 1.244 GB, free: 10.12 MB / 0.9669 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.004152/0.9499, allocations: 3.283 MB / 1.248 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.9512, allocations: 0.8418 MB / 1.248 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/0.9517, allocations: 370.2 kB / 1.249 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.148e-05/0.9518, allocations: 28.3 kB / 1.249 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.9518, allocations: 38.94 kB / 1.249 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=45): time 1.793e-06/0.9518, allocations: 0 / 1.249 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=45): time 0.001677/0.9535, allocations: 1.18 MB / 1.25 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.9535, allocations: 63.34 kB / 1.25 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.955, allocations: 1.231 MB / 1.251 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.206e-05/0.955, allocations: 41.7 kB / 1.251 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003728/0.9554, allocations: 473.3 kB / 1.252 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.9556, allocations: 178.5 kB / 1.252 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002506/0.9558, allocations: 206.6 kB / 1.252 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.956, allocations: 349.9 kB / 1.252 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.9567, allocations: 0.6465 MB / 1.253 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009661/0.9577, allocations: 0.9709 MB / 1.254 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.9594, allocations: 1.586 MB / 1.256 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.9594, allocations: 4 kB / 1.256 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002202/0.9616, allocations: 1.788 MB / 1.257 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9616, allocations: 8 kB / 1.257 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.9617, allocations: 12 kB / 1.257 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.9619, allocations: 48.83 kB / 1.257 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.963, allocations: 267.9 kB / 1.258 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003861/0.9669, allocations: 6.84 MB / 1.264 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/0.9678, allocations: 127 kB / 1.264 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.9679, allocations: 43.98 kB / 1.264 GB, free: 4.574 MB / 0.9825 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.0003978/0.9683, allocations: 302.2 kB / 1.265 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.9684, allocations: 123.1 kB / 1.265 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.9696, allocations: 0.8452 MB / 1.266 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9696, allocations: 4 kB / 1.266 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.9697, allocations: 4 kB / 1.266 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.862e-06/0.9697, allocations: 0 / 1.266 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009817/0.9706, allocations: 0.9152 MB / 1.267 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.9707, allocations: 4 kB / 1.267 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.9712, allocations: 119.8 kB / 1.267 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001131/0.9713, allocations: 28.84 kB / 1.267 GB, free: 2.172 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.9714, allocations: 15.98 kB / 1.267 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009755/0.9724, allocations: 1.437 MB / 1.268 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.9724, allocations: 0 / 1.268 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001638/0.974, allocations: 1.378 MB / 1.269 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.9744, allocations: 264.1 kB / 1.27 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.9745, allocations: 23.86 kB / 1.27 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005491/0.9751, allocations: 23.97 kB / 1.27 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.9752, allocations: 31.95 kB / 1.27 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.9752, allocations: 16 kB / 1.27 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001064/0.9763, allocations: 0.8194 MB / 1.271 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9763, allocations: 0 / 1.271 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009461/0.9772, allocations: 367.6 kB / 1.271 GB, free: 13.62 MB / 0.9981 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.0005313/0.9778, allocations: 282.7 kB / 1.271 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002306/0.9801, allocations: 1.502 MB / 1.273 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9801, allocations: 4 kB / 1.273 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.9806, allocations: 476 kB / 1.273 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.9816, allocations: 226.8 kB / 1.273 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.9849, allocations: 2.553 MB / 1.276 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.9855, allocations: 1.098 MB / 1.277 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004701/0.986, allocations: 207.1 kB / 1.277 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.9862, allocations: 71.42 kB / 1.277 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.9862, allocations: 0 / 1.277 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of Templates: time 0.0247/1.011, allocations: 14.69 MB / 1.292 GB, free: 8.605 MB / 1.014 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