Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008133/0.008133, allocations: 103.9 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 189.1 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.2 MB / 0.6648 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 61.94 kB / 0.9508 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3322, allocations: 140.4 MB / 1.088 GB, free: 1.562 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005791/0.3381, allocations: 4.357 MB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005556/0.3437, allocations: 2.948 MB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005768/0.3443, allocations: 19.88 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.3454, allocations: 357.7 kB / 1.095 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.3468, allocations: 0.659 MB / 1.096 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.3486, allocations: 0.6315 MB / 1.097 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002499/0.3511, allocations: 1.881 MB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.3515, allocations: 181.9 kB / 1.099 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009605/0.3525, allocations: 0.5839 MB / 1.099 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009196/0.3534, allocations: 0.6539 MB / 1.1 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.3535, allocations: 80 kB / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.3544, allocations: 407.4 kB / 1.1 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005032/0.3549, allocations: 462.6 kB / 1.101 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000617/0.3555, allocations: 0.6023 MB / 1.101 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.3571, allocations: 1.472 MB / 1.103 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3571, allocations: 0 / 1.103 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.337e-06/0.3571, allocations: 0 / 1.103 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.3571, allocations: 3.938 kB / 1.103 GB, free: 2.223 MB / 0.8575 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.003004/0.3602, allocations: 1.622 MB / 1.104 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.3602, allocations: 8.031 kB / 1.104 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.3604, allocations: 131.3 kB / 1.105 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.3618, allocations: 0.8426 MB / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.3618, allocations: 45.38 kB / 1.105 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.916e-05/0.3619, allocations: 60.38 kB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008934/0.3628, allocations: 0.6179 MB / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.3629, allocations: 0 / 1.106 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.152e-05/0.3629, allocations: 16 kB / 1.106 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.3629, allocations: 12 kB / 1.106 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/0.3637, allocations: 0.5582 MB / 1.107 GB, free: 14.19 MB / 0.8731 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.004443/0.3681, allocations: 3.278 MB / 1.11 GB, free: 10.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/0.3695, allocations: 0.8443 MB / 1.111 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004317/0.3699, allocations: 357.4 kB / 1.111 GB, free: 9.457 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.37, allocations: 32.3 kB / 1.111 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.37, allocations: 34.94 kB / 1.111 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 1.433e-06/0.37, allocations: 3.938 kB / 1.111 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001895/0.3719, allocations: 1.176 MB / 1.112 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.372, allocations: 55.41 kB / 1.112 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.3738, allocations: 1.235 MB / 1.113 GB, free: 6.863 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.434e-05/0.3738, allocations: 37.7 kB / 1.113 GB, free: 6.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004174/0.3743, allocations: 468.7 kB / 1.114 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001759/0.3745, allocations: 181.4 kB / 1.114 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.3747, allocations: 206.5 kB / 1.114 GB, free: 5.969 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3749, allocations: 349.9 kB / 1.115 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007873/0.3757, allocations: 0.6464 MB / 1.115 GB, free: 4.977 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.3768, allocations: 0.9747 MB / 1.116 GB, free: 3.859 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00182/0.3786, allocations: 1.586 MB / 1.118 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.3786, allocations: 4 kB / 1.118 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002314/0.381, allocations: 1.779 MB / 1.12 GB, free: 344 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.381, allocations: 15.98 kB / 1.12 GB, free: 328 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/0.381, allocations: 12 kB / 1.12 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002528/0.3813, allocations: 40.84 kB / 1.12 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.3825, allocations: 268 kB / 1.12 GB, free: 4 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/0.3865, allocations: 6.832 MB / 1.127 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.3875, allocations: 134.5 kB / 1.127 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.3876, allocations: 43.94 kB / 1.127 GB, free: 8.672 MB / 0.8887 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.0004748/0.3881, allocations: 309.7 kB / 1.127 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.3883, allocations: 114.4 kB / 1.127 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.3895, allocations: 0.8414 MB / 1.128 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3895, allocations: 4 kB / 1.128 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3895, allocations: 0 / 1.128 GB, free: 7.383 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3896, allocations: 3.984 kB / 1.128 GB, free: 7.379 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3906, allocations: 0.9151 MB / 1.129 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.3907, allocations: 0 / 1.129 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.3912, allocations: 107.9 kB / 1.129 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001292/0.3913, allocations: 32.83 kB / 1.129 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.3914, allocations: 19.98 kB / 1.129 GB, free: 6.258 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009801/0.3924, allocations: 1.429 MB / 1.13 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3924, allocations: 4.156 kB / 1.13 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001646/0.394, allocations: 1.374 MB / 1.132 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004707/0.3945, allocations: 263.5 kB / 1.132 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.3947, allocations: 19.94 kB / 1.132 GB, free: 2.996 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005926/0.3953, allocations: 27.95 kB / 1.132 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.3954, allocations: 27.97 kB / 1.132 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.3954, allocations: 16 kB / 1.132 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001261/0.3967, allocations: 0.8193 MB / 1.133 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3967, allocations: 0 / 1.133 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001257/0.398, allocations: 367.7 kB / 1.133 GB, free: 1.742 MB / 0.8887 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.0006908/0.3987, allocations: 271.1 kB / 1.133 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002555/0.4012, allocations: 1.502 MB / 1.135 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4013, allocations: 2 kB / 1.135 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005717/0.4018, allocations: 482.3 kB / 1.135 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.403, allocations: 232.7 kB / 1.136 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/0.4068, allocations: 2.514 MB / 1.138 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007398/0.4076, allocations: 1.102 MB / 1.139 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005454/0.4081, allocations: 199.1 kB / 1.139 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.4083, allocations: 67.44 kB / 1.139 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of SimCode: time 7.91e-07/0.4083, allocations: 0 / 1.139 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of Templates: time 0.02754/0.4359, allocations: 14.68 MB / 1.154 GB, free: 12.76 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches