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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001126/0.001126, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 202 kB / 16.79 MB, free: 6.828 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.326/1.326, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 63.52 kB / 0.899 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.308, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006346/0.3144, allocations: 4.381 MB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005372/0.3198, allocations: 2.981 MB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008306/0.3207, allocations: 19.88 kB / 1.06 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.322, allocations: 334.2 kB / 1.06 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.3238, allocations: 0.5912 MB / 1.061 GB, free: 4 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.3256, allocations: 0.5567 MB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00265/0.3282, allocations: 2.186 MB / 1.064 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.3286, allocations: 157.9 kB / 1.064 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.3298, allocations: 0.5253 MB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.3315, allocations: 0.6811 MB / 1.065 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.3318, allocations: 48 kB / 1.065 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00122/0.3331, allocations: 391.4 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0006318/0.3337, allocations: 430.6 kB / 1.066 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.3347, allocations: 0.5594 MB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001378/0.3361, allocations: 1.095 MB / 1.067 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3362, allocations: 4 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3362, allocations: 0 / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.439e-05/0.3362, allocations: 0 / 1.067 GB, free: 9.359 MB / 0.8262 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.003717/0.3399, allocations: 1.624 MB / 1.069 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.34, allocations: 11.97 kB / 1.069 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.3403, allocations: 135.2 kB / 1.069 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.3419, allocations: 0.8038 MB / 1.07 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.3419, allocations: 53.31 kB / 1.07 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.3421, allocations: 68.22 kB / 1.07 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009241/0.343, allocations: 0.6179 MB / 1.071 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.343, allocations: 0 / 1.071 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.008e-05/0.3431, allocations: 16 kB / 1.071 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.3431, allocations: 12 kB / 1.071 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.3438, allocations: 0.5582 MB / 1.071 GB, free: 5.336 MB / 0.8262 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.004748/0.3486, allocations: 3.282 MB / 1.074 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.3499, allocations: 0.8455 MB / 1.075 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.3504, allocations: 361.4 kB / 1.075 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.991e-05/0.3505, allocations: 28.3 kB / 1.075 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.3505, allocations: 34.94 kB / 1.076 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=45): time 2.886e-06/0.3505, allocations: 4 kB / 1.076 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45): time 0.001813/0.3524, allocations: 1.178 MB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.3524, allocations: 59.39 kB / 1.077 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.3543, allocations: 1.224 MB / 1.078 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.3543, allocations: 41.7 kB / 1.078 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.3547, allocations: 476.6 kB / 1.078 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.3549, allocations: 169.5 kB / 1.079 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.3552, allocations: 210.5 kB / 1.079 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3554, allocations: 349.9 kB / 1.079 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000777/0.3561, allocations: 0.6464 MB / 1.08 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009962/0.3572, allocations: 0.9708 MB / 1.081 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.3589, allocations: 1.594 MB / 1.082 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3589, allocations: 4 kB / 1.082 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002461/0.3614, allocations: 1.783 MB / 1.084 GB, free: 7.477 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3614, allocations: 8 kB / 1.084 GB, free: 7.469 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.758e-05/0.3615, allocations: 12 kB / 1.084 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.3617, allocations: 48.83 kB / 1.084 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.3628, allocations: 259.7 kB / 1.084 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003917/0.3668, allocations: 6.729 MB / 1.091 GB, free: 108 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.3679, allocations: 138.6 kB / 1.091 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.368, allocations: 40 kB / 1.091 GB, free: 15.93 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.0005072/0.3685, allocations: 305.4 kB / 1.091 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.3688, allocations: 114.7 kB / 1.091 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.3701, allocations: 0.8501 MB / 1.092 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3701, allocations: 4 kB / 1.092 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3701, allocations: 0 / 1.092 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3701, allocations: 3.984 kB / 1.092 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.3714, allocations: 0.9112 MB / 1.093 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.3714, allocations: 0 / 1.093 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.3719, allocations: 111.9 kB / 1.093 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.3721, allocations: 40.7 kB / 1.093 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.024e-05/0.3721, allocations: 19.98 kB / 1.093 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009996/0.3731, allocations: 1.331 MB / 1.095 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3732, allocations: 4.031 kB / 1.095 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.3749, allocations: 1.362 MB / 1.096 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/0.3754, allocations: 263.4 kB / 1.096 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.3756, allocations: 15.98 kB / 1.096 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.3763, allocations: 31.91 kB / 1.096 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.337e-05/0.3764, allocations: 27.95 kB / 1.096 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.3764, allocations: 12.11 kB / 1.096 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001286/0.3777, allocations: 0.8271 MB / 1.097 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3777, allocations: 0 / 1.097 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001182/0.3789, allocations: 371.6 kB / 1.097 GB, free: 9.102 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.0006206/0.3795, allocations: 267.7 kB / 1.098 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002495/0.382, allocations: 1.499 MB / 1.099 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.382, allocations: 0 / 1.099 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.3826, allocations: 478.1 kB / 1.1 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.3839, allocations: 221.6 kB / 1.1 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.3878, allocations: 2.933 MB / 1.103 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.3886, allocations: 1.098 MB / 1.104 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.3889, allocations: 71.42 kB / 1.104 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.3889, allocations: 0 / 1.104 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of Templates: time 0.03436/0.4232, allocations: 30.7 MB / 1.134 GB, free: 3.781 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches