Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005479/0.005479, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001171/0.001171, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 1.054 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9246/0.926, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005168/0.9312, allocations: 4.358 MB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004566/0.9358, allocations: 2.943 MB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003554/0.9362, allocations: 19.88 kB / 1.215 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008785/0.9371, allocations: 367.5 kB / 1.215 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.9382, allocations: 0.6416 MB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.9396, allocations: 0.6352 MB / 1.216 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.9414, allocations: 1.878 MB / 1.218 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002851/0.9417, allocations: 181.9 kB / 1.218 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.9424, allocations: 0.6035 MB / 1.219 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007959/0.9432, allocations: 0.6499 MB / 1.22 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.9433, allocations: 79.94 kB / 1.22 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006216/0.9439, allocations: 423.4 kB / 1.22 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004363/0.9444, allocations: 462.6 kB / 1.221 GB, free: 380 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004999/0.9449, allocations: 0.5985 MB / 1.221 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.9462, allocations: 1.468 MB / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.9462, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9462, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.9462, allocations: 0 / 1.223 GB, free: 14.3 MB / 0.9512 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.002862/0.9491, allocations: 1.623 MB / 1.224 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.9491, allocations: 12.03 kB / 1.224 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.9493, allocations: 131.3 kB / 1.224 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.9507, allocations: 0.8388 MB / 1.225 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.9507, allocations: 45.38 kB / 1.225 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.9508, allocations: 60.38 kB / 1.225 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/0.9517, allocations: 0.6255 MB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.9517, allocations: 0 / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.9518, allocations: 16 kB / 1.226 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.9518, allocations: 8 kB / 1.226 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.9526, allocations: 0.5621 MB / 1.226 GB, free: 10.25 MB / 0.9512 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.004316/0.9569, allocations: 3.278 MB / 1.23 GB, free: 6.727 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.9582, allocations: 0.8444 MB / 1.23 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004327/0.9586, allocations: 367.5 kB / 1.231 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.096e-05/0.9587, allocations: 32.2 kB / 1.231 GB, free: 5.48 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.9587, allocations: 34.94 kB / 1.231 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 1.883e-06/0.9588, allocations: 4 kB / 1.231 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001671/0.9604, allocations: 1.176 MB / 1.232 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.9605, allocations: 55.41 kB / 1.232 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/0.9619, allocations: 1.227 MB / 1.233 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.962, allocations: 41.7 kB / 1.233 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.9623, allocations: 472.6 kB / 1.234 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.9624, allocations: 165.6 kB / 1.234 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.9627, allocations: 214.5 kB / 1.234 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.9628, allocations: 349.9 kB / 1.234 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007329/0.9636, allocations: 0.6387 MB / 1.235 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009331/0.9645, allocations: 0.9747 MB / 1.236 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001614/0.9661, allocations: 1.593 MB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.465e-06/0.9662, allocations: 4 kB / 1.238 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002294/0.9685, allocations: 1.779 MB / 1.239 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.9685, allocations: 8 kB / 1.239 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.601e-05/0.9685, allocations: 15.94 kB / 1.239 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.9688, allocations: 48.83 kB / 1.239 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.9699, allocations: 268 kB / 1.24 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003942/0.9738, allocations: 6.828 MB / 1.246 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009544/0.9748, allocations: 126.7 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.9749, allocations: 40 kB / 1.246 GB, free: 4.734 MB / 0.9669 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.0003692/0.9753, allocations: 301.6 kB / 1.247 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.9754, allocations: 118.4 kB / 1.247 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.9766, allocations: 0.8491 MB / 1.248 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.9766, allocations: 8 kB / 1.248 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.9766, allocations: 0 / 1.248 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.9766, allocations: 0 / 1.248 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.9776, allocations: 0.9112 MB / 1.249 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9776, allocations: 4 kB / 1.249 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.9782, allocations: 111.8 kB / 1.249 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.9783, allocations: 28.84 kB / 1.249 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.9783, allocations: 23.92 kB / 1.249 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009311/0.9793, allocations: 1.441 MB / 1.25 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.9793, allocations: 4.031 kB / 1.25 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.9809, allocations: 1.358 MB / 1.252 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/0.9813, allocations: 263.5 kB / 1.252 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.9815, allocations: 19.86 kB / 1.252 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.982, allocations: 27.97 kB / 1.252 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.617e-05/0.9821, allocations: 27.95 kB / 1.252 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.9822, allocations: 12 kB / 1.252 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001209/0.9834, allocations: 0.8194 MB / 1.253 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9834, allocations: 0 / 1.253 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001241/0.9846, allocations: 367.7 kB / 1.253 GB, free: 13.81 MB / 0.9825 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.0006099/0.9853, allocations: 282.8 kB / 1.253 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002502/0.9878, allocations: 1.498 MB / 1.255 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9878, allocations: 0 / 1.255 GB, free: 12 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005876/0.9884, allocations: 476.1 kB / 1.255 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.9894, allocations: 230.2 kB / 1.255 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.9932, allocations: 2.518 MB / 1.258 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.9939, allocations: 1.098 MB / 1.259 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005151/0.9945, allocations: 207.1 kB / 1.259 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.9947, allocations: 63.42 kB / 1.259 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.9947, allocations: 0 / 1.259 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of Templates: time 0.02528/1.02, allocations: 15.01 MB / 1.274 GB, free: 8.52 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches