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.001254/0.001254, 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.001217/0.001217, allocations: 196.8 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.392/1.392, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.79/2.79, allocations: 461.9 MB / 0.7342 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.84 kB / 0.8984 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3769, allocations: 157.4 MB / 1.052 GB, free: 8.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005777/0.3828, allocations: 4.369 MB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00515/0.388, allocations: 2.984 MB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005143/0.3885, allocations: 19.88 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.3896, allocations: 326.2 kB / 1.06 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.3908, allocations: 0.6067 MB / 1.06 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3923, allocations: 0.5494 MB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002278/0.3946, allocations: 2.194 MB / 1.063 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.3949, allocations: 150.5 kB / 1.063 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008134/0.3957, allocations: 0.5253 MB / 1.064 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008678/0.3966, allocations: 0.6812 MB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.3967, allocations: 48 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.3975, allocations: 395.4 kB / 1.065 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.3979, allocations: 418.6 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005786/0.3985, allocations: 0.571 MB / 1.066 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.3999, allocations: 1.433 MB / 1.067 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4, allocations: 4 kB / 1.067 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4, allocations: 0 / 1.067 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.4, allocations: 0 / 1.067 GB, free: 9.527 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.003043/0.403, allocations: 1.617 MB / 1.069 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4031, allocations: 12.02 kB / 1.069 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.4033, allocations: 135.2 kB / 1.069 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.4046, allocations: 0.8038 MB / 1.069 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.4047, allocations: 49.38 kB / 1.07 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.4048, allocations: 68.22 kB / 1.07 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.4057, allocations: 0.614 MB / 1.07 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4058, allocations: 0 / 1.07 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.4058, allocations: 16 kB / 1.07 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.4058, allocations: 8 kB / 1.07 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000759/0.4066, allocations: 0.5621 MB / 1.071 GB, free: 5.52 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.004531/0.4111, allocations: 3.286 MB / 1.074 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.4125, allocations: 0.8465 MB / 1.075 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/0.413, allocations: 361.4 kB / 1.075 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.704e-05/0.4131, allocations: 32.28 kB / 1.075 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.4131, allocations: 30.94 kB / 1.075 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/0.4132, allocations: 4 kB / 1.075 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45): time 0.001876/0.415, allocations: 1.183 MB / 1.076 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.4151, allocations: 55.41 kB / 1.076 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.4167, allocations: 1.227 MB / 1.078 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.4168, allocations: 41.7 kB / 1.078 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.4172, allocations: 464.7 kB / 1.078 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4174, allocations: 177.5 kB / 1.078 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002654/0.4177, allocations: 210.5 kB / 1.078 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4178, allocations: 349.9 kB / 1.079 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007891/0.4186, allocations: 0.6426 MB / 1.079 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.4196, allocations: 0.9747 MB / 1.08 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/0.4214, allocations: 1.594 MB / 1.082 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.4215, allocations: 0 / 1.082 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002516/0.424, allocations: 1.787 MB / 1.084 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.424, allocations: 8 kB / 1.084 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/0.4241, allocations: 15.98 kB / 1.084 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.4243, allocations: 40.84 kB / 1.084 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/0.4255, allocations: 263.6 kB / 1.084 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.4298, allocations: 6.737 MB / 1.091 GB, free: 284 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.431, allocations: 130.6 kB / 1.091 GB, free: 152 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.4311, allocations: 44 kB / 1.091 GB, free: 108 kB / 0.8419 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.0005702/0.4317, allocations: 303 kB / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003466/0.4321, allocations: 110.7 kB / 1.091 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001443/0.4335, allocations: 0.8529 MB / 1.092 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4335, allocations: 8 kB / 1.092 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4335, allocations: 0 / 1.092 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4336, allocations: 3.984 kB / 1.092 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.435, allocations: 0.9073 MB / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.435, allocations: 3.938 kB / 1.093 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005284/0.4355, allocations: 111.9 kB / 1.093 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.4357, allocations: 36.77 kB / 1.093 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.4358, allocations: 12 kB / 1.093 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.4368, allocations: 1.338 MB / 1.094 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4368, allocations: 0 / 1.094 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.4387, allocations: 1.374 MB / 1.096 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005496/0.4392, allocations: 263.4 kB / 1.096 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.4395, allocations: 16 kB / 1.096 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000704/0.4402, allocations: 35.89 kB / 1.096 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.4403, allocations: 27.95 kB / 1.096 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.4403, allocations: 15.94 kB / 1.096 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00139/0.4417, allocations: 0.8194 MB / 1.097 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4418, allocations: 4 kB / 1.097 GB, free: 9.633 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001314/0.4431, allocations: 371.6 kB / 1.097 GB, free: 9.27 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.0006974/0.4438, allocations: 263 kB / 1.097 GB, free: 9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002707/0.4465, allocations: 1.503 MB / 1.099 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4465, allocations: 0 / 1.099 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.4471, allocations: 478.4 kB / 1.099 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.4485, allocations: 215.5 kB / 1.1 GB, free: 6.781 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.4528, allocations: 2.854 MB / 1.102 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008992/0.4537, allocations: 1.098 MB / 1.103 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006611/0.4544, allocations: 207.1 kB / 1.104 GB, free: 2.57 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.4546, allocations: 67.42 kB / 1.104 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of SimCode: time 1.243e-06/0.4547, allocations: 0 / 1.104 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of Templates: time 0.0275/0.4822, allocations: 13.93 MB / 1.117 GB, free: 4.727 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