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.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.002289/0.002289, allocations: 103 kB / 16.45 MB, free: 6.449 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.002484/0.002484, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.585/1.585, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.286/3.286, allocations: 0.4899 GB / 0.7915 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_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: 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.002124/0.002124, allocations: 71.11 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3592, allocations: 176.1 MB / 1.321 GB, free: 2.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00601/0.3652, allocations: 4.406 MB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006142/0.3714, allocations: 3.025 MB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005042/0.3719, allocations: 27.75 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.3729, allocations: 369.7 kB / 1.329 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.3742, allocations: 0.6532 MB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.3758, allocations: 0.6315 MB / 1.33 GB, free: 9.684 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002224/0.378, allocations: 1.893 MB / 1.332 GB, free: 7.789 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.3783, allocations: 121.9 kB / 1.332 GB, free: 7.652 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.3792, allocations: 0.6074 MB / 1.333 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.3801, allocations: 0.6928 MB / 1.333 GB, free: 6.348 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.3803, allocations: 80 kB / 1.333 GB, free: 6.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007442/0.381, allocations: 423.4 kB / 1.334 GB, free: 5.855 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.3815, allocations: 470.5 kB / 1.334 GB, free: 5.395 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006538/0.3822, allocations: 0.6023 MB / 1.335 GB, free: 4.789 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.384, allocations: 1.494 MB / 1.336 GB, free: 3.289 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.384, allocations: 7.938 kB / 1.336 GB, free: 3.281 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.11e-07/0.384, allocations: 0 / 1.336 GB, free: 3.281 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.384, allocations: 4 kB / 1.336 GB, free: 3.277 MB / 1.029 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.003477/0.3875, allocations: 1.669 MB / 1.338 GB, free: 1.551 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3875, allocations: 8.031 kB / 1.338 GB, free: 1.543 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004377/0.388, allocations: 148 kB / 1.338 GB, free: 1.398 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001482/0.3894, allocations: 0.8592 MB / 1.339 GB, free: 500 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.351e-05/0.3895, allocations: 41.38 kB / 1.339 GB, free: 456 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.3896, allocations: 68.33 kB / 1.339 GB, free: 388 kB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.3906, allocations: 0.614 MB / 1.34 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.3906, allocations: 0 / 1.34 GB, free: 15.75 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.3907, allocations: 16 kB / 1.34 GB, free: 15.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3907, allocations: 15.94 kB / 1.34 GB, free: 15.72 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008577/0.3915, allocations: 0.5621 MB / 1.34 GB, free: 15.15 MB / 1.045 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.004893/0.3964, allocations: 3.283 MB / 1.343 GB, free: 11.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.3979, allocations: 0.8166 MB / 1.344 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004776/0.3984, allocations: 345.4 kB / 1.345 GB, free: 10.46 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 7.27e-05/0.3984, allocations: 24.3 kB / 1.345 GB, free: 10.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.3985, allocations: 42.88 kB / 1.345 GB, free: 10.38 MB / 1.045 GB Notification: Performance of pre-optimization done (n=45): time 1.904e-06/0.3985, allocations: 0 / 1.345 GB, free: 10.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=45): time 0.001871/0.4003, allocations: 1.188 MB / 1.346 GB, free: 9.168 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.4004, allocations: 55.41 kB / 1.346 GB, free: 9.102 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/0.4021, allocations: 1.239 MB / 1.347 GB, free: 7.852 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.968e-05/0.4021, allocations: 41.7 kB / 1.347 GB, free: 7.805 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.4025, allocations: 473.2 kB / 1.348 GB, free: 7.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.4027, allocations: 182.5 kB / 1.348 GB, free: 7.156 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002771/0.403, allocations: 214.5 kB / 1.348 GB, free: 6.941 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.4031, allocations: 349.9 kB / 1.348 GB, free: 6.594 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008325/0.404, allocations: 0.6503 MB / 1.349 GB, free: 5.945 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.4051, allocations: 0.963 MB / 1.35 GB, free: 4.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/0.407, allocations: 1.59 MB / 1.351 GB, free: 3.109 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.407, allocations: 4 kB / 1.351 GB, free: 3.105 MB / 1.045 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002479/0.4095, allocations: 1.784 MB / 1.353 GB, free: 1.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.4095, allocations: 16.19 kB / 1.353 GB, free: 1.293 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/0.4095, allocations: 12 kB / 1.353 GB, free: 1.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/0.4097, allocations: 44.83 kB / 1.353 GB, free: 1.234 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.4109, allocations: 271.6 kB / 1.353 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.4157, allocations: 6.836 MB / 1.36 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.4168, allocations: 135 kB / 1.36 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.4169, allocations: 43.98 kB / 1.36 GB, free: 9.633 MB / 1.061 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.0005248/0.4174, allocations: 303.7 kB / 1.361 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.4176, allocations: 119.1 kB / 1.361 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.4189, allocations: 0.853 MB / 1.362 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.419, allocations: 4 kB / 1.362 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.419, allocations: 0 / 1.362 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.419, allocations: 7.922 kB / 1.362 GB, free: 8.328 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.4201, allocations: 0.923 MB / 1.362 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.4201, allocations: 0 / 1.362 GB, free: 7.359 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005468/0.4206, allocations: 107.9 kB / 1.363 GB, free: 7.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/0.4208, allocations: 36.83 kB / 1.363 GB, free: 7.215 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.076e-05/0.4208, allocations: 19.98 kB / 1.363 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/0.422, allocations: 1.429 MB / 1.364 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.422, allocations: 8.016 kB / 1.364 GB, free: 5.621 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4238, allocations: 1.375 MB / 1.365 GB, free: 4.227 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000387/0.4241, allocations: 264.1 kB / 1.366 GB, free: 3.949 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.4243, allocations: 23.92 kB / 1.366 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.4249, allocations: 31.89 kB / 1.366 GB, free: 3.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.425, allocations: 27.97 kB / 1.366 GB, free: 3.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/0.425, allocations: 12 kB / 1.366 GB, free: 3.855 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001212/0.4262, allocations: 0.8311 MB / 1.366 GB, free: 3.02 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4262, allocations: 4 kB / 1.367 GB, free: 3.016 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001038/0.4273, allocations: 367.6 kB / 1.367 GB, free: 2.656 MB / 1.061 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.0005397/0.4278, allocations: 270.8 kB / 1.367 GB, free: 2.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.4303, allocations: 1.397 MB / 1.368 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4303, allocations: 0 / 1.368 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006058/0.4309, allocations: 462.3 kB / 1.369 GB, free: 500 kB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.4319, allocations: 223.5 kB / 1.369 GB, free: 280 kB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/0.4358, allocations: 2.55 MB / 1.372 GB, free: 13.7 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000794/0.4366, allocations: 1.102 MB / 1.373 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004952/0.4371, allocations: 207.1 kB / 1.373 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.4373, allocations: 71.42 kB / 1.373 GB, free: 12.29 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.4373, allocations: 0 / 1.373 GB, free: 12.29 MB / 1.076 GB Notification: Performance of Templates: time 0.02961/0.4669, allocations: 15.06 MB / 1.388 GB, free: 13.39 MB / 1.092 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: 9.808191910851747]