Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001249/0.00125, allocations: 109 kB / 15.99 MB, free: 6.355 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.001266/0.001266, allocations: 192.3 kB / 16.91 MB, free: 6.188 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.403/1.403, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.001991, allocations: 67.78 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005764/0.3148, allocations: 4.381 MB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004992/0.3199, allocations: 2.93 MB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000483/0.3204, allocations: 19.88 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000984/0.3214, allocations: 330.2 kB / 1.072 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.3227, allocations: 0.5951 MB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.3242, allocations: 0.5732 MB / 1.073 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00222/0.3264, allocations: 1.871 MB / 1.075 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.3267, allocations: 173.9 kB / 1.075 GB, free: 4.199 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008939/0.3276, allocations: 0.6032 MB / 1.075 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009664/0.3286, allocations: 0.7007 MB / 1.076 GB, free: 2.891 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/0.3288, allocations: 76 kB / 1.076 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.3295, allocations: 415.4 kB / 1.076 GB, free: 2.41 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004755/0.33, allocations: 466.6 kB / 1.077 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006009/0.3306, allocations: 0.5984 MB / 1.077 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001248/0.3318, allocations: 1.119 MB / 1.079 GB, free: 236 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3318, allocations: 0 / 1.079 GB, free: 236 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3319, allocations: 0 / 1.079 GB, free: 236 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.186e-05/0.3319, allocations: 0 / 1.079 GB, free: 236 kB / 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.4592/0.7911, allocations: 1.607 MB / 1.08 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.7912, allocations: 10.3 kB / 1.08 GB, free: 22.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.7915, allocations: 132 kB / 1.08 GB, free: 22.18 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.7928, allocations: 0.8209 MB / 1.081 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.969e-05/0.7928, allocations: 43.12 kB / 1.081 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.793, allocations: 64.81 kB / 1.081 GB, free: 21.81 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/0.7939, allocations: 0.6125 MB / 1.082 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.7939, allocations: 0 / 1.082 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.794, allocations: 25.14 kB / 1.082 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.794, allocations: 10.19 kB / 1.082 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007373/0.7947, allocations: 0.555 MB / 1.082 GB, free: 21.48 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.004129/0.7989, allocations: 3.289 MB / 1.086 GB, free: 19.37 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.8004, allocations: 0.8486 MB / 1.086 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.8009, allocations: 359.4 kB / 1.087 GB, free: 19.03 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.168e-05/0.8009, allocations: 28.64 kB / 1.087 GB, free: 19.02 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.801, allocations: 37.69 kB / 1.087 GB, free: 18.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.565e-06/0.801, allocations: 3.422 kB / 1.087 GB, free: 18.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001739/0.8027, allocations: 1.183 MB / 1.088 GB, free: 18.55 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.8027, allocations: 56.7 kB / 1.088 GB, free: 18.49 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.8044, allocations: 1.233 MB / 1.089 GB, free: 18 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.8044, allocations: 41.48 kB / 1.089 GB, free: 17.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.8047, allocations: 462.1 kB / 1.09 GB, free: 17.61 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.8049, allocations: 178.7 kB / 1.09 GB, free: 17.47 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000253/0.8051, allocations: 211.6 kB / 1.09 GB, free: 17.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 7.666e-05/0.8052, allocations: 352.5 kB / 1.09 GB, free: 17.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000882/0.8061, allocations: 0.6417 MB / 1.091 GB, free: 16.86 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009865/0.8071, allocations: 0.9694 MB / 1.092 GB, free: 16.24 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.8087, allocations: 1.588 MB / 1.094 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.8087, allocations: 2.812 kB / 1.094 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002451/0.8112, allocations: 1.782 MB / 1.095 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.8112, allocations: 13.73 kB / 1.095 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.8113, allocations: 12.22 kB / 1.095 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002313/0.8115, allocations: 48.25 kB / 1.095 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.8127, allocations: 266.6 kB / 1.096 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.8153, allocations: 6.832 MB / 1.102 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8166, allocations: 135.2 kB / 1.102 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.556e-05/0.8166, allocations: 37.61 kB / 1.102 GB, free: 8.238 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.0004055/0.8171, allocations: 306.1 kB / 1.103 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.8172, allocations: 112.6 kB / 1.103 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.8185, allocations: 0.8447 MB / 1.104 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.8185, allocations: 5.297 kB / 1.104 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.8185, allocations: 0 / 1.104 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.8186, allocations: 6.75 kB / 1.104 GB, free: 7.691 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/0.8198, allocations: 0.9095 MB / 1.105 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8198, allocations: 8.547 kB / 1.105 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.8204, allocations: 106.7 kB / 1.105 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/0.8205, allocations: 34.75 kB / 1.105 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.914e-05/0.8206, allocations: 13.67 kB / 1.105 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007374/0.8213, allocations: 1.436 MB / 1.106 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.8213, allocations: 2.188 kB / 1.106 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.823, allocations: 1.371 MB / 1.107 GB, free: 5.332 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004145/0.8234, allocations: 265.7 kB / 1.108 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.8236, allocations: 16.05 kB / 1.108 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000588/0.8242, allocations: 39.86 kB / 1.108 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.537e-05/0.8243, allocations: 24.16 kB / 1.108 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.828e-05/0.8243, allocations: 14.36 kB / 1.108 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001072/0.8254, allocations: 0.8199 MB / 1.109 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8254, allocations: 0 / 1.109 GB, free: 4.789 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001084/0.8265, allocations: 373.2 kB / 1.109 GB, free: 4.738 MB / 0.8419 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.0004903/0.827, allocations: 266.7 kB / 1.109 GB, free: 4.625 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002437/0.8294, allocations: 1.604 MB / 1.111 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8294, allocations: 1.969 kB / 1.111 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.83, allocations: 484.3 kB / 1.111 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.8311, allocations: 227 kB / 1.111 GB, free: 3.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/0.8344, allocations: 2.934 MB / 1.114 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005853/0.835, allocations: 1.101 MB / 1.115 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.8353, allocations: 65.38 kB / 1.115 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.8353, allocations: 0 / 1.115 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of Templates: time 0.04008/0.8753, allocations: 30.73 MB / 1.145 GB, free: 5.551 MB / 0.8575 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches