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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 214.5 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.473/3.473, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002396/0.002396, allocations: 69.05 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.419, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005693/0.4247, allocations: 3.977 MB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005473/0.4302, allocations: 2.836 MB / 1.37 GB, free: 6.777 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.4306, allocations: 27.75 kB / 1.37 GB, free: 6.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.4316, allocations: 353.8 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.4331, allocations: 0.6962 MB / 1.372 GB, free: 5.703 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.4348, allocations: 0.6627 MB / 1.372 GB, free: 5.039 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002107/0.4369, allocations: 1.904 MB / 1.374 GB, free: 3.133 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002467/0.4372, allocations: 114.3 kB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008209/0.438, allocations: 0.6113 MB / 1.375 GB, free: 2.391 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.439, allocations: 0.6733 MB / 1.375 GB, free: 1.715 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.4392, allocations: 84 kB / 1.375 GB, free: 1.633 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008093/0.44, allocations: 415.4 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000539/0.4405, allocations: 482.6 kB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005319/0.4411, allocations: 0.5053 MB / 1.377 GB, free: 252 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.4428, allocations: 1.498 MB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.4428, allocations: 0 / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4428, allocations: 0 / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.895e-05/0.4428, allocations: 0 / 1.378 GB, free: 14.74 MB / 1.076 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.003297/0.4461, allocations: 1.602 MB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.4461, allocations: 8.031 kB / 1.38 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/0.4465, allocations: 148 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.4481, allocations: 0.7897 MB / 1.381 GB, free: 12.12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.4481, allocations: 41.38 kB / 1.381 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.4482, allocations: 64.38 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/0.4492, allocations: 0.6139 MB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4492, allocations: 4 kB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.4493, allocations: 16 kB / 1.381 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.4493, allocations: 12 kB / 1.381 GB, free: 11.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008293/0.4501, allocations: 0.5582 MB / 1.382 GB, free: 10.8 MB / 1.076 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.004375/0.4545, allocations: 2.242 MB / 1.384 GB, free: 8.512 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.4559, allocations: 0.8049 MB / 1.385 GB, free: 7.695 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/0.4564, allocations: 341.4 kB / 1.385 GB, free: 7.359 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.368e-05/0.4565, allocations: 20.36 kB / 1.385 GB, free: 7.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.4565, allocations: 46.88 kB / 1.385 GB, free: 7.285 MB / 1.076 GB Notification: Performance of pre-optimization done (n=45): time 2.595e-06/0.4565, allocations: 0 / 1.385 GB, free: 7.285 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.001864/0.4584, allocations: 1.109 MB / 1.386 GB, free: 6.168 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.4584, allocations: 59.34 kB / 1.387 GB, free: 6.098 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/0.4601, allocations: 1.243 MB / 1.388 GB, free: 4.844 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.4602, allocations: 37.7 kB / 1.388 GB, free: 4.801 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.4606, allocations: 477.2 kB / 1.388 GB, free: 4.328 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.4608, allocations: 186.4 kB / 1.388 GB, free: 4.145 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.4611, allocations: 210.5 kB / 1.389 GB, free: 3.934 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4612, allocations: 349.9 kB / 1.389 GB, free: 3.586 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000885/0.4621, allocations: 0.6465 MB / 1.39 GB, free: 2.938 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.4633, allocations: 0.963 MB / 1.391 GB, free: 1.832 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.4651, allocations: 1.586 MB / 1.392 GB, free: 100 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.4652, allocations: 0 / 1.392 GB, free: 100 kB / 1.076 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002549/0.4677, allocations: 1.791 MB / 1.394 GB, free: 14.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4677, allocations: 11.94 kB / 1.394 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.4678, allocations: 15.98 kB / 1.394 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.468, allocations: 48.84 kB / 1.394 GB, free: 14.22 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.4691, allocations: 275.9 kB / 1.394 GB, free: 13.95 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/0.4737, allocations: 6.714 MB / 1.401 GB, free: 6.945 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.4748, allocations: 135 kB / 1.401 GB, free: 6.812 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-05/0.4748, allocations: 40 kB / 1.401 GB, free: 6.773 MB / 1.092 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.000449/0.4753, allocations: 303.3 kB / 1.401 GB, free: 6.469 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.4755, allocations: 115.2 kB / 1.401 GB, free: 6.355 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.4768, allocations: 0.8491 MB / 1.402 GB, free: 5.492 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4768, allocations: 4 kB / 1.402 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4768, allocations: 4 kB / 1.402 GB, free: 5.484 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4768, allocations: 3.984 kB / 1.402 GB, free: 5.48 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009191/0.4777, allocations: 0.6717 MB / 1.403 GB, free: 4.781 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.4777, allocations: 4 kB / 1.403 GB, free: 4.777 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005515/0.4783, allocations: 111.9 kB / 1.403 GB, free: 4.668 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001244/0.4784, allocations: 36.77 kB / 1.403 GB, free: 4.629 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.4784, allocations: 19.92 kB / 1.403 GB, free: 4.609 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.4795, allocations: 1.307 MB / 1.404 GB, free: 3.199 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4795, allocations: 4.141 kB / 1.404 GB, free: 3.195 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.4814, allocations: 1.378 MB / 1.406 GB, free: 1.801 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004865/0.4818, allocations: 187.1 kB / 1.406 GB, free: 1.617 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.482, allocations: 16.11 kB / 1.406 GB, free: 1.602 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.4826, allocations: 31.89 kB / 1.406 GB, free: 1.57 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.4827, allocations: 31.94 kB / 1.406 GB, free: 1.539 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.877e-05/0.4827, allocations: 19.94 kB / 1.406 GB, free: 1.52 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001176/0.4839, allocations: 0.8233 MB / 1.407 GB, free: 0.6914 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4839, allocations: 4 kB / 1.407 GB, free: 0.6875 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001095/0.485, allocations: 371.6 kB / 1.407 GB, free: 332 kB / 1.092 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.0005571/0.4855, allocations: 276.8 kB / 1.407 GB, free: 44 kB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.488, allocations: 1.397 MB / 1.409 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.488, allocations: 0 / 1.409 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0005897/0.4886, allocations: 458.4 kB / 1.409 GB, free: 14.16 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4896, allocations: 234.2 kB / 1.409 GB, free: 13.93 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/0.4933, allocations: 2.563 MB / 1.412 GB, free: 11.34 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.4938, allocations: 0.5029 MB / 1.412 GB, free: 10.81 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000525/0.4944, allocations: 199.1 kB / 1.412 GB, free: 10.61 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.4946, allocations: 67.44 kB / 1.413 GB, free: 10.54 MB / 1.107 GB Notification: Performance of SimCode: time 6.02e-07/0.4946, allocations: 0 / 1.413 GB, free: 10.54 MB / 1.107 GB Notification: Performance of Templates: time 0.02944/0.524, allocations: 17.17 MB / 1.429 GB, free: 9.656 MB / 1.123 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.091533282771707]