Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 190 kB / 22.1 MB, free: 5.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.26/3.26, allocations: 495.8 MB / 0.783 GB, free: 33.66 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 64.95 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.408, allocations: 173.6 MB / 1.307 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00624/0.4142, allocations: 4.373 MB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005602/0.4198, allocations: 2.986 MB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.4204, allocations: 27.75 kB / 1.314 GB, free: 10.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.4215, allocations: 365.7 kB / 1.314 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.423, allocations: 0.6954 MB / 1.315 GB, free: 9.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00188/0.4248, allocations: 0.6704 MB / 1.316 GB, free: 8.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002747/0.4276, allocations: 1.898 MB / 1.317 GB, free: 6.848 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003164/0.4279, allocations: 130.3 kB / 1.318 GB, free: 6.707 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.429, allocations: 0.5996 MB / 1.318 GB, free: 6.105 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.43, allocations: 0.7162 MB / 1.319 GB, free: 5.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.4302, allocations: 76 kB / 1.319 GB, free: 5.312 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007986/0.431, allocations: 415.4 kB / 1.319 GB, free: 4.906 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005692/0.4315, allocations: 494.5 kB / 1.32 GB, free: 4.422 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006995/0.4322, allocations: 0.6023 MB / 1.32 GB, free: 3.816 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.4342, allocations: 1.49 MB / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4342, allocations: 0 / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4342, allocations: 0 / 1.322 GB, free: 2.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.802e-05/0.4342, allocations: 0 / 1.322 GB, free: 2.32 MB / 1.014 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.003358/0.4375, allocations: 1.594 MB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4376, allocations: 8.031 kB / 1.323 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002322/0.4378, allocations: 140 kB / 1.324 GB, free: 0.543 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001438/0.4393, allocations: 0.7819 MB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.4393, allocations: 49.36 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.4394, allocations: 60.38 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009478/0.4404, allocations: 0.614 MB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4404, allocations: 0 / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.4404, allocations: 23.94 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.4404, allocations: 15.94 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.4414, allocations: 0.5582 MB / 1.326 GB, free: 14.39 MB / 1.029 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.005069/0.4464, allocations: 3.245 MB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.4479, allocations: 0.8205 MB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005178/0.4485, allocations: 337.4 kB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.773e-05/0.4486, allocations: 28.3 kB / 1.33 GB, free: 9.711 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.4486, allocations: 42.88 kB / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.665e-06/0.4486, allocations: 0 / 1.33 GB, free: 9.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.002161/0.4507, allocations: 1.107 MB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.4508, allocations: 55.41 kB / 1.331 GB, free: 8.477 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.4526, allocations: 1.247 MB / 1.332 GB, free: 7.219 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.526e-05/0.4527, allocations: 41.7 kB / 1.332 GB, free: 7.172 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.4532, allocations: 469.3 kB / 1.333 GB, free: 6.707 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.4534, allocations: 186.4 kB / 1.333 GB, free: 6.523 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.4537, allocations: 206.6 kB / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.4539, allocations: 357.8 kB / 1.334 GB, free: 5.961 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.455, allocations: 0.6426 MB / 1.334 GB, free: 5.32 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4562, allocations: 0.9747 MB / 1.335 GB, free: 4.203 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002071/0.4583, allocations: 1.586 MB / 1.337 GB, free: 2.469 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4583, allocations: 4 kB / 1.337 GB, free: 2.465 MB / 1.029 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002756/0.4611, allocations: 1.783 MB / 1.338 GB, free: 0.668 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.4611, allocations: 12 kB / 1.338 GB, free: 0.6562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.4611, allocations: 15.98 kB / 1.338 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.4614, allocations: 40.84 kB / 1.338 GB, free: 0.5977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.4627, allocations: 275.9 kB / 1.339 GB, free: 336 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/0.4686, allocations: 6.725 MB / 1.345 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.4703, allocations: 139 kB / 1.345 GB, free: 9.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.279e-05/0.4703, allocations: 39.98 kB / 1.345 GB, free: 9.129 MB / 1.045 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.0005615/0.4709, allocations: 302.7 kB / 1.346 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.4711, allocations: 119.1 kB / 1.346 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.4725, allocations: 0.8504 MB / 1.347 GB, free: 7.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4725, allocations: 4 kB / 1.347 GB, free: 7.836 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4725, allocations: 7.938 kB / 1.347 GB, free: 7.828 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.4725, allocations: 0 / 1.347 GB, free: 7.828 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.4738, allocations: 0.887 MB / 1.348 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.4738, allocations: 4 kB / 1.348 GB, free: 6.898 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.4743, allocations: 107.9 kB / 1.348 GB, free: 6.793 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001495/0.4745, allocations: 32.83 kB / 1.348 GB, free: 6.758 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.63e-05/0.4745, allocations: 19.98 kB / 1.348 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.4758, allocations: 1.334 MB / 1.349 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4758, allocations: 0 / 1.349 GB, free: 5.293 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.4778, allocations: 1.374 MB / 1.35 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.4783, allocations: 195 kB / 1.351 GB, free: 3.707 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.4784, allocations: 19.92 kB / 1.351 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.479, allocations: 27.95 kB / 1.351 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.142e-05/0.4791, allocations: 27.95 kB / 1.351 GB, free: 3.633 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.4791, allocations: 19.98 kB / 1.351 GB, free: 3.613 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001268/0.4804, allocations: 0.8272 MB / 1.351 GB, free: 2.781 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4804, allocations: 0 / 1.351 GB, free: 2.781 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001123/0.4815, allocations: 371.6 kB / 1.352 GB, free: 2.418 MB / 1.045 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.000564/0.4821, allocations: 271.6 kB / 1.352 GB, free: 2.141 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002661/0.4848, allocations: 1.388 MB / 1.353 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4848, allocations: 1.875 kB / 1.353 GB, free: 0.7305 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0006836/0.4855, allocations: 466.4 kB / 1.354 GB, free: 268 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.4866, allocations: 233.5 kB / 1.354 GB, free: 36 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.4906, allocations: 2.576 MB / 1.357 GB, free: 13.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009676/0.4916, allocations: 1.098 MB / 1.358 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006329/0.4922, allocations: 207.1 kB / 1.358 GB, free: 12.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.4925, allocations: 71.42 kB / 1.358 GB, free: 12.04 MB / 1.061 GB Notification: Performance of SimCode: time 8.42e-07/0.4925, allocations: 0 / 1.358 GB, free: 12.04 MB / 1.061 GB Notification: Performance of Templates: time 0.03065/0.5231, allocations: 15.36 MB / 1.373 GB, free: 12.82 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.053436398506165]