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.001114/0.001114, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008892/0.008892, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 462.7 MB / 0.7364 GB, free: 256 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003843, allocations: 12.84 kB / 0.9028 GB, free: 36.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4211, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004871/0.426, allocations: 3.98 MB / 1.063 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005427/0.4315, allocations: 2.95 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005079/0.432, allocations: 15.88 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.433, allocations: 334.2 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.4343, allocations: 0.5912 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001462/0.4358, allocations: 0.5459 MB / 1.067 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.4387, allocations: 2.194 MB / 1.069 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.439, allocations: 154.5 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009625/0.44, allocations: 0.5136 MB / 1.07 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009509/0.441, allocations: 0.6771 MB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.4411, allocations: 44 kB / 1.07 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009078/0.442, allocations: 387.4 kB / 1.071 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004251/0.4424, allocations: 410.7 kB / 1.071 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.443, allocations: 0.5883 MB / 1.072 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.4445, allocations: 1.409 MB / 1.073 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4445, allocations: 4 kB / 1.073 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.068e-06/0.4445, allocations: 0 / 1.073 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.4446, allocations: 3.938 kB / 1.073 GB, free: 6.574 MB / 0.8262 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.002785/0.4474, allocations: 1.457 MB / 1.075 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.4474, allocations: 12.03 kB / 1.075 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002071/0.4476, allocations: 131.3 kB / 1.075 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.4489, allocations: 0.8114 MB / 1.075 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.449, allocations: 45.38 kB / 1.075 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.4491, allocations: 60.38 kB / 1.076 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009761/0.4501, allocations: 0.6217 MB / 1.076 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4501, allocations: 0 / 1.076 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.4502, allocations: 16 kB / 1.076 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.4502, allocations: 8 kB / 1.076 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.4511, allocations: 0.5699 MB / 1.077 GB, free: 2.719 MB / 0.8262 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.004701/0.4558, allocations: 3.298 MB / 1.08 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4573, allocations: 0.8524 MB / 1.081 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.4578, allocations: 361.4 kB / 1.081 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/0.4579, allocations: 28.28 kB / 1.081 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4579, allocations: 38.94 kB / 1.081 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.784e-06/0.4579, allocations: 0 / 1.081 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001827/0.4598, allocations: 1.183 MB / 1.082 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4598, allocations: 63.28 kB / 1.082 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.4614, allocations: 1.231 MB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.4615, allocations: 41.7 kB / 1.084 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003812/0.4619, allocations: 464.7 kB / 1.084 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.4621, allocations: 173.5 kB / 1.084 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.4622, allocations: 125.6 kB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.4624, allocations: 357.9 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007694/0.4631, allocations: 0.6387 MB / 1.085 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.4642, allocations: 0.9786 MB / 1.086 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.466, allocations: 1.586 MB / 1.088 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.466, allocations: 8 kB / 1.088 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002501/0.4685, allocations: 1.783 MB / 1.09 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.4685, allocations: 13.41 kB / 1.09 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-05/0.4686, allocations: 12 kB / 1.09 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.4688, allocations: 44.83 kB / 1.09 GB, free: 4.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.47, allocations: 271.8 kB / 1.09 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004527/0.4745, allocations: 6.741 MB / 1.096 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.4759, allocations: 130.7 kB / 1.097 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-05/0.476, allocations: 43.98 kB / 1.097 GB, free: 13.34 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.0005625/0.4766, allocations: 301.6 kB / 1.097 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.4768, allocations: 114.5 kB / 1.097 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.4781, allocations: 0.8452 MB / 1.098 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.4781, allocations: 15.98 kB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4781, allocations: 0 / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4781, allocations: 0 / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.4793, allocations: 0.9112 MB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.4793, allocations: 4 kB / 1.099 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.4798, allocations: 111.8 kB / 1.099 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.48, allocations: 32.78 kB / 1.099 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.48, allocations: 19.98 kB / 1.099 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.4811, allocations: 1.331 MB / 1.1 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4811, allocations: 0 / 1.1 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.4829, allocations: 1.381 MB / 1.102 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/0.4833, allocations: 263.5 kB / 1.102 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.4834, allocations: 16 kB / 1.102 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.484, allocations: 39.86 kB / 1.102 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.4841, allocations: 27.97 kB / 1.102 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/0.4841, allocations: 15.98 kB / 1.102 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001152/0.4853, allocations: 0.8154 MB / 1.103 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4853, allocations: 0 / 1.103 GB, free: 6.859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001111/0.4864, allocations: 375.6 kB / 1.103 GB, free: 6.492 MB / 0.8575 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.0005709/0.487, allocations: 270.9 kB / 1.103 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002571/0.4896, allocations: 1.51 MB / 1.105 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4896, allocations: 0 / 1.105 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.4902, allocations: 478.4 kB / 1.105 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.4915, allocations: 216 kB / 1.105 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.4955, allocations: 3.058 MB / 1.108 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000733/0.4963, allocations: 1.094 MB / 1.11 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000583/0.4969, allocations: 207.1 kB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002151/0.4971, allocations: 63.42 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.4971, allocations: 0 / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.02504/0.5221, allocations: 13.65 MB / 1.123 GB, free: 2.023 MB / 0.8731 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