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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001684/0.001684, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00131/0.00131, allocations: 195 kB / 16.25 MB, free: 6.637 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.405/1.405, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.918/2.918, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 70.55 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3401, allocations: 159.9 MB / 1.068 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005741/0.3459, allocations: 4.375 MB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005171/0.3511, allocations: 2.942 MB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006256/0.3518, allocations: 19.88 kB / 1.075 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.3529, allocations: 318.2 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.3541, allocations: 0.5947 MB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001457/0.3556, allocations: 0.581 MB / 1.076 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001929/0.3576, allocations: 1.875 MB / 1.078 GB, free: 16 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.3579, allocations: 169.9 kB / 1.078 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.3587, allocations: 0.5994 MB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008532/0.3596, allocations: 0.7085 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3597, allocations: 76 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007023/0.3604, allocations: 415.4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003864/0.3608, allocations: 458.7 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.3613, allocations: 0.5984 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.3628, allocations: 1.468 MB / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3628, allocations: 0 / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3628, allocations: 4 kB / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.3628, allocations: 4 kB / 1.083 GB, free: 11.49 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.002638/0.3655, allocations: 1.612 MB / 1.084 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3655, allocations: 8.031 kB / 1.084 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.3657, allocations: 131.3 kB / 1.084 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.3668, allocations: 0.8114 MB / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.696e-05/0.3669, allocations: 45.38 kB / 1.085 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.191e-05/0.367, allocations: 68.36 kB / 1.085 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008316/0.3678, allocations: 0.6139 MB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.3678, allocations: 0 / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.3679, allocations: 23.94 kB / 1.086 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.3679, allocations: 12 kB / 1.086 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006997/0.3686, allocations: 0.5582 MB / 1.086 GB, free: 7.488 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.004108/0.3727, allocations: 3.29 MB / 1.09 GB, free: 3.949 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.3741, allocations: 0.8439 MB / 1.09 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.3746, allocations: 366.7 kB / 1.091 GB, free: 2.738 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.364e-05/0.3747, allocations: 32.19 kB / 1.091 GB, free: 2.707 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3747, allocations: 38.94 kB / 1.091 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.3747, allocations: 0 / 1.091 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001712/0.3764, allocations: 1.179 MB / 1.092 GB, free: 1.453 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.3765, allocations: 55.41 kB / 1.092 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.378, allocations: 1.224 MB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.378, allocations: 41.7 kB / 1.093 GB, free: 108 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.3784, allocations: 472.7 kB / 1.094 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.3786, allocations: 169.5 kB / 1.094 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.3788, allocations: 214.5 kB / 1.094 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3789, allocations: 345.9 kB / 1.094 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007155/0.3797, allocations: 0.6465 MB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009006/0.3806, allocations: 0.9669 MB / 1.096 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.3821, allocations: 1.59 MB / 1.097 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.3821, allocations: 4 kB / 1.098 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002473/0.3846, allocations: 1.783 MB / 1.099 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3846, allocations: 13.56 kB / 1.099 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.3847, allocations: 16 kB / 1.099 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.3849, allocations: 52.77 kB / 1.099 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.386, allocations: 259.7 kB / 1.1 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004796/0.3908, allocations: 6.832 MB / 1.106 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.3921, allocations: 130.6 kB / 1.106 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.3922, allocations: 44 kB / 1.106 GB, free: 1.957 MB / 0.8575 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.0005076/0.3927, allocations: 311.3 kB / 1.107 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.3929, allocations: 118.4 kB / 1.107 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.394, allocations: 0.8375 MB / 1.108 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3941, allocations: 4 kB / 1.108 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3941, allocations: 0 / 1.108 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.3941, allocations: 3.938 kB / 1.108 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.3953, allocations: 0.9191 MB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.3953, allocations: 7.922 kB / 1.109 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005124/0.3958, allocations: 107.9 kB / 1.109 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001374/0.396, allocations: 32.83 kB / 1.109 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.3961, allocations: 16 kB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.3971, allocations: 1.437 MB / 1.11 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3972, allocations: 0 / 1.11 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3989, allocations: 1.37 MB / 1.111 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.3994, allocations: 259.5 kB / 1.112 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.3995, allocations: 23.92 kB / 1.112 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.4, allocations: 28.03 kB / 1.112 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.4001, allocations: 35.89 kB / 1.112 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.4002, allocations: 12 kB / 1.112 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001156/0.4013, allocations: 0.8232 MB / 1.113 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4013, allocations: 0 / 1.113 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001092/0.4024, allocations: 359.7 kB / 1.113 GB, free: 11.02 MB / 0.8731 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.0005589/0.403, allocations: 278.8 kB / 1.113 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002761/0.4058, allocations: 1.605 MB / 1.115 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.4058, allocations: 3.938 kB / 1.115 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005915/0.4064, allocations: 478.5 kB / 1.115 GB, free: 8.629 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.4075, allocations: 222.7 kB / 1.115 GB, free: 8.41 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.4115, allocations: 2.865 MB / 1.118 GB, free: 5.523 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007606/0.4122, allocations: 1.09 MB / 1.119 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006862/0.4129, allocations: 203.1 kB / 1.119 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.4131, allocations: 71.42 kB / 1.12 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of SimCode: time 6.71e-07/0.4132, allocations: 0 / 1.12 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of Templates: time 0.02822/0.4414, allocations: 14.49 MB / 1.134 GB, free: 5.801 MB / 0.8887 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