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.001252/0.001252, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001352/0.001352, allocations: 191 kB / 22.23 MB, free: 5.105 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.329/1.329, allocations: 225.6 MB / 251 MB, free: 13.02 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 2.929/2.929, allocations: 496 MB / 0.7835 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] 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.001878/0.001878, allocations: 65.16 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3508, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005806/0.3566, allocations: 4.411 MB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005062/0.3617, allocations: 2.969 MB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005314/0.3622, allocations: 27.75 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009919/0.3632, allocations: 369.7 kB / 1.315 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.3647, allocations: 0.6929 MB / 1.316 GB, free: 9.312 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.3663, allocations: 0.676 MB / 1.316 GB, free: 8.637 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.3687, allocations: 1.898 MB / 1.318 GB, free: 6.734 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.369, allocations: 130.3 kB / 1.318 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.3699, allocations: 0.5918 MB / 1.319 GB, free: 5.996 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009971/0.3709, allocations: 0.7278 MB / 1.319 GB, free: 5.266 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.371, allocations: 80 kB / 1.32 GB, free: 5.188 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008047/0.3718, allocations: 439.4 kB / 1.32 GB, free: 4.758 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005329/0.3723, allocations: 490.6 kB / 1.32 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006083/0.373, allocations: 0.5984 MB / 1.321 GB, free: 3.676 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.3747, allocations: 1.494 MB / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3747, allocations: 0 / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3747, allocations: 0 / 1.322 GB, free: 2.176 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.3747, allocations: 0 / 1.322 GB, free: 2.176 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.003083/0.3778, allocations: 1.594 MB / 1.324 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3778, allocations: 8.922 kB / 1.324 GB, free: 0.5391 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000216/0.3781, allocations: 144 kB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.3795, allocations: 0.7859 MB / 1.325 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.3795, allocations: 49.31 kB / 1.325 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.3796, allocations: 60.38 kB / 1.325 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009386/0.3805, allocations: 0.6176 MB / 1.326 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3806, allocations: 0 / 1.326 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.3806, allocations: 16 kB / 1.326 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3806, allocations: 11.98 kB / 1.326 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007897/0.3814, allocations: 0.5621 MB / 1.326 GB, free: 14.24 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.004821/0.3862, allocations: 3.252 MB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/0.3877, allocations: 0.8165 MB / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/0.3881, allocations: 350.6 kB / 1.331 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/0.3882, allocations: 28.36 kB / 1.331 GB, free: 9.551 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.3882, allocations: 34.94 kB / 1.331 GB, free: 9.508 MB / 1.029 GB Notification: Performance of pre-optimization done (n=45): time 2.244e-06/0.3882, allocations: 0 / 1.331 GB, free: 9.508 MB / 1.029 GB Notification: Performance of matching and sorting (n=45): time 0.001828/0.3901, allocations: 1.111 MB / 1.332 GB, free: 8.387 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.3901, allocations: 59.34 kB / 1.332 GB, free: 8.316 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.3918, allocations: 1.247 MB / 1.333 GB, free: 7.059 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.3918, allocations: 41.7 kB / 1.333 GB, free: 7.012 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.3923, allocations: 469.3 kB / 1.333 GB, free: 6.547 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001921/0.3925, allocations: 186.4 kB / 1.334 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002776/0.3927, allocations: 206.6 kB / 1.334 GB, free: 6.156 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3929, allocations: 357.9 kB / 1.334 GB, free: 5.801 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008252/0.3937, allocations: 0.6465 MB / 1.335 GB, free: 5.156 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/0.3949, allocations: 0.9708 MB / 1.336 GB, free: 4.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.397, allocations: 1.582 MB / 1.337 GB, free: 2.312 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.397, allocations: 4 kB / 1.337 GB, free: 2.309 MB / 1.029 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002556/0.3995, allocations: 1.787 MB / 1.339 GB, free: 0.5078 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.3996, allocations: 13.88 kB / 1.339 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/0.3996, allocations: 12 kB / 1.339 GB, free: 496 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/0.3998, allocations: 44.83 kB / 1.339 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.4009, allocations: 271.9 kB / 1.339 GB, free: 176 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00486/0.4058, allocations: 6.736 MB / 1.346 GB, free: 9.137 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.407, allocations: 135 kB / 1.346 GB, free: 9.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.407, allocations: 39.94 kB / 1.346 GB, free: 8.965 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.0004945/0.4075, allocations: 302.7 kB / 1.346 GB, free: 8.66 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001814/0.4077, allocations: 123.1 kB / 1.346 GB, free: 8.539 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.409, allocations: 0.8465 MB / 1.347 GB, free: 7.676 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.409, allocations: 4 kB / 1.347 GB, free: 7.672 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.409, allocations: 0 / 1.347 GB, free: 7.672 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.409, allocations: 0 / 1.347 GB, free: 7.672 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.4102, allocations: 0.8909 MB / 1.348 GB, free: 6.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4102, allocations: 4 kB / 1.348 GB, free: 6.738 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005026/0.4107, allocations: 115.8 kB / 1.348 GB, free: 6.625 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.4108, allocations: 24.84 kB / 1.348 GB, free: 6.598 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.4108, allocations: 19.98 kB / 1.348 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.412, allocations: 1.343 MB / 1.35 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.412, allocations: 0 / 1.35 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4138, allocations: 1.374 MB / 1.351 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.4142, allocations: 195 kB / 1.351 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.4143, allocations: 12 kB / 1.351 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.4149, allocations: 31.95 kB / 1.351 GB, free: 3.496 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.415, allocations: 31.94 kB / 1.351 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.415, allocations: 16 kB / 1.351 GB, free: 3.449 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001174/0.4162, allocations: 0.8233 MB / 1.352 GB, free: 2.621 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4162, allocations: 0 / 1.352 GB, free: 2.621 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001075/0.4173, allocations: 371.6 kB / 1.352 GB, free: 2.258 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.0005288/0.4178, allocations: 271.6 kB / 1.353 GB, free: 1.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00252/0.4203, allocations: 1.392 MB / 1.354 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4203, allocations: 1.938 kB / 1.354 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005872/0.4209, allocations: 458.5 kB / 1.354 GB, free: 108 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.422, allocations: 230.9 kB / 1.355 GB, free: 15.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.4257, allocations: 2.572 MB / 1.357 GB, free: 13.29 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.4266, allocations: 1.11 MB / 1.358 GB, free: 12.15 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0005449/0.4271, allocations: 203.1 kB / 1.358 GB, free: 11.95 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.4273, allocations: 67.44 kB / 1.359 GB, free: 11.88 MB / 1.061 GB Notification: Performance of SimCode: time 8.61e-07/0.4273, allocations: 0 / 1.359 GB, free: 11.88 MB / 1.061 GB Notification: Performance of Templates: time 0.02958/0.4569, allocations: 15.37 MB / 1.374 GB, free: 12.67 MB / 1.076 GB " [Timeout remaining time 300] 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: 8.686338677071035]