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.00159/0.00159, allocations: 104.9 kB / 16.27 MB, free: 6.402 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.00176/0.00176, allocations: 191.5 kB / 17.2 MB, free: 5.969 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.302/1.302, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.515/2.515, allocations: 469.4 MB / 0.7426 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 62.89 kB / 0.9088 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2835, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005367/0.2889, allocations: 4.351 MB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004761/0.2937, allocations: 2.945 MB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.2943, allocations: 19.88 kB / 1.071 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.2953, allocations: 369.6 kB / 1.072 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.2967, allocations: 0.6415 MB / 1.072 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.2982, allocations: 0.6369 MB / 1.073 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001961/0.3002, allocations: 1.863 MB / 1.075 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.3005, allocations: 181.9 kB / 1.075 GB, free: 4.043 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008591/0.3014, allocations: 0.5878 MB / 1.076 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009626/0.3023, allocations: 0.6656 MB / 1.076 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.3025, allocations: 76 kB / 1.076 GB, free: 2.711 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007369/0.3033, allocations: 407.4 kB / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004826/0.3038, allocations: 462.6 kB / 1.077 GB, free: 1.859 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006923/0.3045, allocations: 0.5984 MB / 1.078 GB, free: 1.258 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.4628/0.7673, allocations: 1.452 MB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.7673, allocations: 0.5312 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7673, allocations: 0.5312 kB / 1.079 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.807e-05/0.7674, allocations: 0 / 1.079 GB, free: 14.13 MB / 0.8419 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.003301/0.7707, allocations: 1.615 MB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.7707, allocations: 11.09 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.771, allocations: 135.8 kB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.7722, allocations: 0.8169 MB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.481e-05/0.7723, allocations: 44.75 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.591e-05/0.7724, allocations: 68.56 kB / 1.082 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008789/0.7733, allocations: 0.6112 MB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.7733, allocations: 1.125 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.7733, allocations: 18.78 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.7734, allocations: 10.28 kB / 1.082 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/0.7741, allocations: 0.5611 MB / 1.083 GB, free: 12.79 MB / 0.8419 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.004201/0.7783, allocations: 3.279 MB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.7797, allocations: 0.8555 MB / 1.087 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004358/0.7801, allocations: 362.8 kB / 1.087 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.26e-05/0.7802, allocations: 26.42 kB / 1.087 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.7803, allocations: 46.73 kB / 1.087 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/0.7803, allocations: 0 / 1.087 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001806/0.7821, allocations: 1.173 MB / 1.088 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/0.7821, allocations: 56.92 kB / 1.089 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.7837, allocations: 1.23 MB / 1.09 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.7838, allocations: 40.89 kB / 1.09 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/0.7841, allocations: 471.7 kB / 1.09 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.7843, allocations: 174.2 kB / 1.09 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.7846, allocations: 207.8 kB / 1.091 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.702e-05/0.7847, allocations: 347.6 kB / 1.091 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009712/0.7857, allocations: 0.6458 MB / 1.092 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.7867, allocations: 0.9765 MB / 1.092 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.7885, allocations: 1.574 MB / 1.094 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/0.7886, allocations: 11.25 kB / 1.094 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002588/0.7911, allocations: 1.783 MB / 1.096 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.7912, allocations: 10.59 kB / 1.096 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/0.7912, allocations: 12.36 kB / 1.096 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.7915, allocations: 49.06 kB / 1.096 GB, free: 7.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.7926, allocations: 264.2 kB / 1.096 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.7955, allocations: 6.844 MB / 1.103 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.7968, allocations: 126.6 kB / 1.103 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.51e-05/0.7969, allocations: 41.56 kB / 1.103 GB, free: 0.7578 MB / 0.8419 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.000465/0.7974, allocations: 305.6 kB / 1.103 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/0.7976, allocations: 111.2 kB / 1.103 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.7989, allocations: 0.8391 MB / 1.104 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.7989, allocations: 8.844 kB / 1.104 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7989, allocations: 1.156 kB / 1.104 GB, free: 240 kB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.7989, allocations: 6.109 kB / 1.104 GB, free: 236 kB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.8004, allocations: 0.9157 MB / 1.105 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.8004, allocations: 1.531 kB / 1.105 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.801, allocations: 108.9 kB / 1.105 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001523/0.8011, allocations: 30.8 kB / 1.105 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.712e-05/0.8012, allocations: 21.97 kB / 1.105 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.8023, allocations: 1.445 MB / 1.107 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8023, allocations: 3.938 kB / 1.107 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.8043, allocations: 1.36 MB / 1.108 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.8047, allocations: 262.1 kB / 1.108 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.8049, allocations: 23.55 kB / 1.108 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.8054, allocations: 28.61 kB / 1.108 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.181e-05/0.8055, allocations: 27.73 kB / 1.108 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.8056, allocations: 14.22 kB / 1.108 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001227/0.8068, allocations: 0.8157 MB / 1.109 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8068, allocations: 0 / 1.109 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001325/0.8081, allocations: 366.4 kB / 1.109 GB, free: 13.3 MB / 0.8575 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.0006069/0.8088, allocations: 284.4 kB / 1.11 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002677/0.8114, allocations: 1.6 MB / 1.111 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8115, allocations: 0 / 1.111 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/0.812, allocations: 483.1 kB / 1.112 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.8133, allocations: 222.5 kB / 1.112 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003877/0.8172, allocations: 2.604 MB / 1.115 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007486/0.8179, allocations: 1.098 MB / 1.116 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.8182, allocations: 71.16 kB / 1.116 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of SimCode: time 1.353e-06/0.8182, allocations: 0 / 1.116 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.04113/0.8594, allocations: 30.72 MB / 1.146 GB, free: 15.55 MB / 0.8731 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches