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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001555/0.001556, allocations: 113.2 kB / 16.42 MB, free: 6.516 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.001755/0.001756, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.483/2.483, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6415, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004988/0.6466, allocations: 4.358 MB / 1.213 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004402/0.651, allocations: 2.941 MB / 1.216 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004987/0.6515, allocations: 19.88 kB / 1.216 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.6524, allocations: 367.5 kB / 1.216 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.6537, allocations: 0.6482 MB / 1.217 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.6551, allocations: 0.6353 MB / 1.217 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001891/0.657, allocations: 1.878 MB / 1.219 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.6573, allocations: 181.8 kB / 1.219 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008581/0.6582, allocations: 0.5957 MB / 1.22 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009627/0.6592, allocations: 0.6578 MB / 1.22 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.6593, allocations: 76 kB / 1.22 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006889/0.66, allocations: 415.4 kB / 1.221 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.6605, allocations: 470.6 kB / 1.221 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0006076/0.6611, allocations: 0.5907 MB / 1.222 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.6625, allocations: 1.468 MB / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6625, allocations: 0 / 1.223 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6625, allocations: 3.938 kB / 1.223 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.654e-05/0.6625, allocations: 0 / 1.223 GB, free: 14.28 MB / 0.9512 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.002765/0.6653, allocations: 1.631 MB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.6653, allocations: 8.031 kB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/0.6656, allocations: 131.3 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.6668, allocations: 0.8387 MB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.6669, allocations: 45.38 kB / 1.226 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-05/0.667, allocations: 64.36 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.6678, allocations: 0.614 MB / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.6678, allocations: 0 / 1.227 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.754e-05/0.6678, allocations: 16 kB / 1.227 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.6678, allocations: 8 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007226/0.6686, allocations: 0.566 MB / 1.227 GB, free: 10.24 MB / 0.9512 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.004035/0.6726, allocations: 3.278 MB / 1.23 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.6739, allocations: 0.8406 MB / 1.231 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.6744, allocations: 365.4 kB / 1.232 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.378e-05/0.6745, allocations: 32.19 kB / 1.232 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.6745, allocations: 42.88 kB / 1.232 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.024e-06/0.6745, allocations: 0 / 1.232 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.00161/0.6761, allocations: 1.176 MB / 1.233 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.6761, allocations: 55.41 kB / 1.233 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/0.6776, allocations: 1.227 MB / 1.234 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.6777, allocations: 41.7 kB / 1.234 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.678, allocations: 468.6 kB / 1.234 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.6782, allocations: 165.6 kB / 1.235 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.6784, allocations: 210.5 kB / 1.235 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.6785, allocations: 349.9 kB / 1.235 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/0.6793, allocations: 0.6503 MB / 1.236 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000928/0.6802, allocations: 0.967 MB / 1.237 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.6818, allocations: 1.586 MB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.6819, allocations: 7.938 kB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002191/0.6841, allocations: 1.783 MB / 1.24 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.6841, allocations: 12 kB / 1.24 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.6841, allocations: 15.83 kB / 1.24 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001865/0.6843, allocations: 49.45 kB / 1.24 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.6855, allocations: 263.7 kB / 1.24 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003559/0.689, allocations: 6.835 MB / 1.247 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008999/0.6899, allocations: 131 kB / 1.247 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.69, allocations: 40 kB / 1.247 GB, free: 4.719 MB / 0.9669 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.0003645/0.6904, allocations: 301.4 kB / 1.247 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.6906, allocations: 114.4 kB / 1.248 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.6917, allocations: 0.8452 MB / 1.248 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6917, allocations: 0 / 1.248 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6918, allocations: 4 kB / 1.248 GB, free: 3.441 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.6921, allocations: 263.5 kB / 1.249 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001375/0.6922, allocations: 12 kB / 1.249 GB, free: 3.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.6928, allocations: 27.97 kB / 1.249 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.6929, allocations: 31.89 kB / 1.249 GB, free: 3.094 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001808/0.6947, allocations: 0.9891 MB / 1.25 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00157/0.6963, allocations: 1.492 MB / 1.251 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004107/0.6967, allocations: 371.9 kB / 1.252 GB, free: 228 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001042/0.6977, allocations: 0.8194 MB / 1.252 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of Backend: time 4.21e-07/0.6978, allocations: 0 / 1.252 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.7005, allocations: 1.452 MB / 1.254 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of SimCode: time 0.003522/0.704, allocations: 2.954 MB / 1.257 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of Templates: time 0.02432/0.7284, allocations: 15.6 MB / 1.272 GB, free: 11.44 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches