Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001526/0.001526, 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.001527/0.001527, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.885/2.885, allocations: 475.9 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002147/0.002147, allocations: 68.3 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.424, allocations: 169.9 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006878/0.4309, allocations: 3.979 MB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005988/0.4369, allocations: 2.844 MB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.4374, allocations: 27.75 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4385, allocations: 341.8 kB / 1.29 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.4402, allocations: 0.7078 MB / 1.291 GB, free: 4.086 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.442, allocations: 0.6549 MB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.4449, allocations: 1.898 MB / 1.293 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.4452, allocations: 122.3 kB / 1.293 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.4464, allocations: 0.6113 MB / 1.294 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.4475, allocations: 0.6771 MB / 1.295 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.4477, allocations: 76 kB / 1.295 GB, free: 24 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009809/0.4487, allocations: 415.4 kB / 1.295 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.4493, allocations: 486.5 kB / 1.295 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.45, allocations: 0.4975 MB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00205/0.452, allocations: 1.502 MB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.4521, allocations: 0 / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.895e-06/0.4521, allocations: 4 kB / 1.297 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.4521, allocations: 0 / 1.297 GB, free: 13.13 MB / 0.9981 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.003624/0.4557, allocations: 1.602 MB / 1.299 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.4558, allocations: 12.03 kB / 1.299 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.4562, allocations: 148 kB / 1.299 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.458, allocations: 0.782 MB / 1.3 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.4581, allocations: 45.38 kB / 1.3 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.4582, allocations: 76.31 kB / 1.3 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.4593, allocations: 0.6101 MB / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.4593, allocations: 0 / 1.301 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.4593, allocations: 27.92 kB / 1.301 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.4594, allocations: 8 kB / 1.301 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008554/0.4602, allocations: 0.5582 MB / 1.301 GB, free: 9.172 MB / 0.9981 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.004941/0.4652, allocations: 2.238 MB / 1.303 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001777/0.4669, allocations: 0.8114 MB / 1.304 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.4675, allocations: 341.4 kB / 1.305 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.299e-05/0.4676, allocations: 24.36 kB / 1.305 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.4677, allocations: 46.81 kB / 1.305 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=45): time 2.996e-06/0.4677, allocations: 0 / 1.305 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=45): time 0.002077/0.4698, allocations: 1.103 MB / 1.306 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.4698, allocations: 63.41 kB / 1.306 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.4717, allocations: 1.243 MB / 1.307 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.781e-05/0.4718, allocations: 41.7 kB / 1.307 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005507/0.4723, allocations: 469.3 kB / 1.307 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.4726, allocations: 182.4 kB / 1.308 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.4729, allocations: 210.6 kB / 1.308 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.4731, allocations: 353.9 kB / 1.308 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009697/0.4741, allocations: 0.6387 MB / 1.309 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.4753, allocations: 0.9747 MB / 1.31 GB, free: 204 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/0.4776, allocations: 1.582 MB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.4776, allocations: 4 kB / 1.311 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002939/0.4806, allocations: 1.795 MB / 1.313 GB, free: 12.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.4806, allocations: 11.94 kB / 1.313 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.023e-05/0.4807, allocations: 12 kB / 1.313 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.4809, allocations: 49.58 kB / 1.313 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4822, allocations: 275.6 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005818/0.4881, allocations: 6.702 MB / 1.32 GB, free: 5.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.4895, allocations: 139.5 kB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.191e-05/0.4895, allocations: 40 kB / 1.32 GB, free: 5.16 MB / 1.014 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.0005908/0.4901, allocations: 301.4 kB / 1.32 GB, free: 4.855 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.4903, allocations: 115.2 kB / 1.32 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.4918, allocations: 0.8466 MB / 1.321 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.4918, allocations: 4 kB / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4918, allocations: 0 / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.4918, allocations: 0 / 1.321 GB, free: 3.875 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009966/0.4928, allocations: 0.6795 MB / 1.322 GB, free: 3.168 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4928, allocations: 4 kB / 1.322 GB, free: 3.164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005346/0.4934, allocations: 115.8 kB / 1.322 GB, free: 3.051 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001387/0.4935, allocations: 32.77 kB / 1.322 GB, free: 3.016 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.4935, allocations: 12 kB / 1.322 GB, free: 3.004 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.4948, allocations: 1.319 MB / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4948, allocations: 0 / 1.323 GB, free: 1.582 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/0.497, allocations: 1.386 MB / 1.325 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/0.4975, allocations: 183.1 kB / 1.325 GB, free: 15.99 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.4976, allocations: 15.98 kB / 1.325 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.4983, allocations: 35.95 kB / 1.325 GB, free: 15.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.4984, allocations: 23.95 kB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.4984, allocations: 24.02 kB / 1.325 GB, free: 15.89 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001285/0.4997, allocations: 0.8272 MB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4997, allocations: 0 / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001164/0.5008, allocations: 367.6 kB / 1.326 GB, free: 14.7 MB / 1.029 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.0005886/0.5014, allocations: 270.7 kB / 1.326 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002755/0.5042, allocations: 1.388 MB / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5042, allocations: 112 / 1.328 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006547/0.5048, allocations: 466.4 kB / 1.328 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.506, allocations: 236.3 kB / 1.328 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004172/0.5102, allocations: 2.579 MB / 1.331 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006195/0.5108, allocations: 0.4951 MB / 1.331 GB, free: 9.184 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005757/0.5114, allocations: 207.1 kB / 1.332 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/0.5116, allocations: 63.42 kB / 1.332 GB, free: 8.914 MB / 1.029 GB Notification: Performance of SimCode: time 7.62e-07/0.5116, allocations: 0 / 1.332 GB, free: 8.914 MB / 1.029 GB Notification: Performance of Templates: time 0.03454/0.5461, allocations: 17.18 MB / 1.349 GB, free: 8.027 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.988755647093058]