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.007039/0.007039, allocations: 103.8 kB / 15.73 MB, free: 6.012 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.001443/0.001443, allocations: 195.2 kB / 16.68 MB, free: 5.934 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 4.133 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.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.41 kB / 0.9508 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3148, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005701/0.3205, allocations: 4.354 MB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005335/0.3259, allocations: 2.95 MB / 1.095 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000645/0.3266, allocations: 19.88 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3277, allocations: 357.7 kB / 1.095 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001374/0.3291, allocations: 0.6532 MB / 1.096 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.3307, allocations: 0.6315 MB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.3328, allocations: 1.874 MB / 1.098 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.3332, allocations: 181.9 kB / 1.099 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.3341, allocations: 0.6034 MB / 1.099 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.335, allocations: 0.6578 MB / 1.1 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001467/0.3352, allocations: 76 kB / 1.1 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.336, allocations: 411.4 kB / 1.1 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004484/0.3365, allocations: 462.6 kB / 1.101 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005824/0.3371, allocations: 0.5945 MB / 1.101 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.3386, allocations: 1.475 MB / 1.103 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3386, allocations: 0 / 1.103 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3386, allocations: 0 / 1.103 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.911e-05/0.3386, allocations: 4 kB / 1.103 GB, free: 2.145 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.003019/0.3417, allocations: 1.62 MB / 1.104 GB, free: 484 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3417, allocations: 12.03 kB / 1.104 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.3419, allocations: 131.3 kB / 1.105 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.3433, allocations: 0.8388 MB / 1.105 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.3434, allocations: 49.31 kB / 1.105 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.3435, allocations: 64.38 kB / 1.105 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008453/0.3444, allocations: 0.6139 MB / 1.106 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3444, allocations: 0 / 1.106 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.3444, allocations: 20 kB / 1.106 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.3445, allocations: 8 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.3452, allocations: 0.5582 MB / 1.107 GB, free: 14.11 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.004665/0.3499, allocations: 3.274 MB / 1.11 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3513, allocations: 0.8481 MB / 1.111 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.3517, allocations: 363.7 kB / 1.111 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.392e-05/0.3518, allocations: 28.28 kB / 1.111 GB, free: 9.344 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3518, allocations: 42.92 kB / 1.111 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.3518, allocations: 0 / 1.111 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.001732/0.3536, allocations: 1.179 MB / 1.112 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.3536, allocations: 55.41 kB / 1.112 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.3551, allocations: 1.227 MB / 1.113 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.385e-05/0.3552, allocations: 41.7 kB / 1.114 GB, free: 6.734 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/0.3555, allocations: 464.7 kB / 1.114 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.3557, allocations: 169.5 kB / 1.114 GB, free: 6.105 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002441/0.356, allocations: 214.5 kB / 1.114 GB, free: 5.891 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3561, allocations: 353.9 kB / 1.115 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007429/0.3568, allocations: 0.6465 MB / 1.115 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009394/0.3578, allocations: 0.9669 MB / 1.116 GB, free: 3.785 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.3595, allocations: 1.59 MB / 1.118 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.3595, allocations: 4 kB / 1.118 GB, free: 2.047 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002308/0.3618, allocations: 1.783 MB / 1.12 GB, free: 260 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3618, allocations: 12 kB / 1.12 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/0.3619, allocations: 12.72 kB / 1.12 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002302/0.3621, allocations: 44.84 kB / 1.12 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3633, allocations: 267.7 kB / 1.12 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.3678, allocations: 6.832 MB / 1.127 GB, free: 8.762 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.3691, allocations: 131 kB / 1.127 GB, free: 8.633 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.3692, allocations: 43.94 kB / 1.127 GB, free: 8.59 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.0005863/0.3698, allocations: 309.4 kB / 1.127 GB, free: 8.277 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.37, allocations: 114.4 kB / 1.127 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.3713, allocations: 0.8375 MB / 1.128 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3714, allocations: 8 kB / 1.128 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.3714, allocations: 0 / 1.128 GB, free: 7.301 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3714, allocations: 3.984 kB / 1.128 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.3725, allocations: 0.9189 MB / 1.129 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3725, allocations: 0 / 1.129 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005203/0.373, allocations: 107.9 kB / 1.129 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.3732, allocations: 32.83 kB / 1.129 GB, free: 6.195 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.217e-05/0.3733, allocations: 23.98 kB / 1.129 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001002/0.3743, allocations: 1.429 MB / 1.13 GB, free: 4.605 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3743, allocations: 8.016 kB / 1.13 GB, free: 4.598 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3758, allocations: 1.366 MB / 1.132 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/0.3763, allocations: 263.5 kB / 1.132 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.3764, allocations: 15.94 kB / 1.132 GB, free: 2.918 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005406/0.3769, allocations: 32.02 kB / 1.132 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.01e-05/0.377, allocations: 23.97 kB / 1.132 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.377, allocations: 19.98 kB / 1.132 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001021/0.3781, allocations: 0.8154 MB / 1.133 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3781, allocations: 0 / 1.133 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009805/0.3791, allocations: 371.7 kB / 1.133 GB, free: 1.66 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.0005269/0.3796, allocations: 268.6 kB / 1.133 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.3819, allocations: 1.507 MB / 1.135 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.382, allocations: 0.625 kB / 1.135 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005364/0.3825, allocations: 482.4 kB / 1.135 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3835, allocations: 237.2 kB / 1.136 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.3867, allocations: 2.513 MB / 1.138 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.3874, allocations: 1.106 MB / 1.139 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000466/0.3878, allocations: 199.1 kB / 1.139 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.388, allocations: 63.44 kB / 1.139 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.388, allocations: 0 / 1.139 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.02461/0.4127, allocations: 15 MB / 1.154 GB, free: 12.37 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