Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001594/0.001594, allocations: 107.5 kB / 16.4 MB, free: 6.473 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.001689/0.001689, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.518/1.518, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.65/2.65, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.88 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9258/0.9279, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006096/0.934, allocations: 4.371 MB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005375/0.9395, allocations: 2.942 MB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006743/0.9402, allocations: 19.88 kB / 1.174 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.9414, allocations: 370.7 kB / 1.175 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.943, allocations: 0.647 MB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001814/0.9448, allocations: 0.6353 MB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002443/0.9472, allocations: 1.883 MB / 1.178 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.9476, allocations: 181.8 kB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/0.9486, allocations: 0.6034 MB / 1.179 GB, free: 8.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009779/0.9496, allocations: 0.6537 MB / 1.179 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.9497, allocations: 76 kB / 1.179 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007424/0.9504, allocations: 427.4 kB / 1.18 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005096/0.951, allocations: 462.6 kB / 1.18 GB, free: 6.559 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006591/0.9516, allocations: 0.6062 MB / 1.181 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.9536, allocations: 1.474 MB / 1.182 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.778e-05/0.9537, allocations: 7.984 kB / 1.182 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9537, allocations: 0 / 1.182 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.177e-05/0.9537, allocations: 0 / 1.182 GB, free: 4.461 MB / 0.9044 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.003131/0.9568, allocations: 1.646 MB / 1.184 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9569, allocations: 12.88 kB / 1.184 GB, free: 2.746 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.9571, allocations: 148 kB / 1.184 GB, free: 2.602 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.9586, allocations: 0.8475 MB / 1.185 GB, free: 1.703 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.9586, allocations: 49.36 kB / 1.185 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.9587, allocations: 60.38 kB / 1.185 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009635/0.9597, allocations: 0.6139 MB / 1.186 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.9597, allocations: 0 / 1.186 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.743e-05/0.9598, allocations: 20 kB / 1.186 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.9598, allocations: 12 kB / 1.186 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.9607, allocations: 0.566 MB / 1.186 GB, free: 372 kB / 0.9044 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.9656, allocations: 3.279 MB / 1.189 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.9671, allocations: 0.8483 MB / 1.19 GB, free: 11.98 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.9676, allocations: 357.4 kB / 1.19 GB, free: 11.63 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.469e-05/0.9677, allocations: 28.3 kB / 1.191 GB, free: 11.6 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.9678, allocations: 34.94 kB / 1.191 GB, free: 11.56 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.495e-06/0.9678, allocations: 4 kB / 1.191 GB, free: 11.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.002007/0.9698, allocations: 1.19 MB / 1.192 GB, free: 10.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.9698, allocations: 55.41 kB / 1.192 GB, free: 10.27 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.9717, allocations: 1.231 MB / 1.193 GB, free: 9.027 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/0.9717, allocations: 41.7 kB / 1.193 GB, free: 8.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.9722, allocations: 469.3 kB / 1.193 GB, free: 8.516 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.9724, allocations: 186.4 kB / 1.194 GB, free: 8.332 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.9727, allocations: 210.6 kB / 1.194 GB, free: 8.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.9729, allocations: 349.9 kB / 1.194 GB, free: 7.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008938/0.9738, allocations: 0.6387 MB / 1.195 GB, free: 7.137 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.975, allocations: 0.9708 MB / 1.196 GB, free: 6.016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002017/0.977, allocations: 1.586 MB / 1.197 GB, free: 4.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.977, allocations: 4 kB / 1.197 GB, free: 4.285 MB / 0.92 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00276/0.9798, allocations: 1.792 MB / 1.199 GB, free: 2.484 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.9798, allocations: 8 kB / 1.199 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.9799, allocations: 12 kB / 1.199 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002447/0.9801, allocations: 52.7 kB / 1.199 GB, free: 2.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.9813, allocations: 267.6 kB / 1.199 GB, free: 2.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.9863, allocations: 6.84 MB / 1.206 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.9875, allocations: 131 kB / 1.206 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.86e-05/0.9876, allocations: 40 kB / 1.206 GB, free: 10.81 MB / 0.9356 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.0004942/0.9881, allocations: 297.4 kB / 1.206 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.9883, allocations: 123.3 kB / 1.207 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.9897, allocations: 0.8466 MB / 1.207 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.9898, allocations: 8 kB / 1.207 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.9898, allocations: 3.938 kB / 1.207 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.9898, allocations: 7.922 kB / 1.207 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.991, allocations: 0.9074 MB / 1.208 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.991, allocations: 4 kB / 1.208 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005616/0.9916, allocations: 111.9 kB / 1.208 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001407/0.9917, allocations: 32.83 kB / 1.208 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.069e-05/0.9918, allocations: 12 kB / 1.208 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.993, allocations: 1.438 MB / 1.21 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.993, allocations: 0 / 1.21 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.9949, allocations: 1.371 MB / 1.211 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.9953, allocations: 272.1 kB / 1.211 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.9955, allocations: 19.94 kB / 1.212 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.996, allocations: 19.97 kB / 1.212 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.9961, allocations: 35.89 kB / 1.212 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.807e-05/0.9962, allocations: 12 kB / 1.212 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001239/0.9974, allocations: 0.8193 MB / 1.212 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9974, allocations: 4 kB / 1.212 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001072/0.9985, allocations: 367.6 kB / 1.213 GB, free: 3.871 MB / 0.9356 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.0005749/0.9991, allocations: 277.1 kB / 1.213 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002686/1.002, allocations: 1.507 MB / 1.214 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.002, allocations: 0 / 1.214 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006403/1.002, allocations: 474.7 kB / 1.215 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/1.004, allocations: 229.1 kB / 1.215 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/1.008, allocations: 2.558 MB / 1.218 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/1.008, allocations: 1.098 MB / 1.219 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000574/1.009, allocations: 207.1 kB / 1.219 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/1.009, allocations: 59.44 kB / 1.219 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/1.009, allocations: 0 / 1.219 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of Templates: time 0.02834/1.037, allocations: 14.79 MB / 1.233 GB, free: 14.76 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches