Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00125/0.00125, allocations: 98.48 kB / 16.02 MB, free: 76 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.001979/0.001979, allocations: 190.7 kB / 16.93 MB, free: 6.75 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.578/2.578, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003807/0.000381, allocations: 8 kB / 0.8735 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6193, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004521/0.6238, allocations: 3.98 MB / 1.028 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005347/0.6292, allocations: 2.935 MB / 1.03 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007726/0.63, allocations: 19.88 kB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.6313, allocations: 322.3 kB / 1.031 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001829/0.6332, allocations: 0.599 MB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.6349, allocations: 0.5497 MB / 1.032 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002813/0.6378, allocations: 2.198 MB / 1.034 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.6382, allocations: 161.8 kB / 1.034 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.6393, allocations: 0.5057 MB / 1.035 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.6405, allocations: 0.6732 MB / 1.035 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002618/0.6408, allocations: 44 kB / 1.035 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009829/0.6418, allocations: 391.5 kB / 1.036 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005561/0.6424, allocations: 426.6 kB / 1.036 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009196/0.6433, allocations: 0.5844 MB / 1.037 GB, free: 2.414 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.6447, allocations: 1.068 MB / 1.038 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.6447, allocations: 0 / 1.038 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.158e-06/0.6447, allocations: 0 / 1.038 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.682e-05/0.6448, allocations: 0 / 1.038 GB, free: 1.344 MB / 0.7794 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.003224/0.648, allocations: 1.461 MB / 1.039 GB, free: 15.83 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6481, allocations: 12.03 kB / 1.039 GB, free: 15.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003395/0.6484, allocations: 135.3 kB / 1.039 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001493/0.6499, allocations: 0.8192 MB / 1.04 GB, free: 14.81 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/0.65, allocations: 41.38 kB / 1.04 GB, free: 14.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.6501, allocations: 68.36 kB / 1.04 GB, free: 14.7 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009305/0.6511, allocations: 0.6178 MB / 1.041 GB, free: 14.06 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.6511, allocations: 0 / 1.041 GB, free: 14.06 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.6511, allocations: 16 kB / 1.041 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.6511, allocations: 12 kB / 1.041 GB, free: 14.04 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.652, allocations: 0.5621 MB / 1.041 GB, free: 13.47 MB / 0.795 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.005104/0.6571, allocations: 3.306 MB / 1.045 GB, free: 9.922 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.6586, allocations: 0.8477 MB / 1.045 GB, free: 9.062 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004477/0.659, allocations: 365.4 kB / 1.046 GB, free: 8.703 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.032e-05/0.6591, allocations: 28.3 kB / 1.046 GB, free: 8.676 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.6592, allocations: 38.94 kB / 1.046 GB, free: 8.629 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.6592, allocations: 0 / 1.046 GB, free: 8.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.002022/0.6612, allocations: 1.186 MB / 1.047 GB, free: 7.414 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.6612, allocations: 59.41 kB / 1.047 GB, free: 7.344 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.663, allocations: 1.227 MB / 1.048 GB, free: 6.105 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.301e-05/0.6631, allocations: 37.7 kB / 1.048 GB, free: 6.062 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/0.6636, allocations: 472.6 kB / 1.049 GB, free: 5.594 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.6638, allocations: 169.6 kB / 1.049 GB, free: 5.426 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.664, allocations: 125.6 kB / 1.049 GB, free: 5.297 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6641, allocations: 349.9 kB / 1.049 GB, free: 4.949 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/0.6649, allocations: 0.6426 MB / 1.05 GB, free: 4.309 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.666, allocations: 0.9747 MB / 1.051 GB, free: 3.195 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.6678, allocations: 1.593 MB / 1.053 GB, free: 1.457 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.6678, allocations: 4 kB / 1.053 GB, free: 1.453 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002445/0.6703, allocations: 1.783 MB / 1.054 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.6703, allocations: 12 kB / 1.054 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/0.6704, allocations: 16.67 kB / 1.054 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.6706, allocations: 44.84 kB / 1.054 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.6717, allocations: 271.6 kB / 1.055 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004287/0.676, allocations: 6.741 MB / 1.061 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6774, allocations: 142.9 kB / 1.061 GB, free: 8.117 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.572e-05/0.6775, allocations: 36 kB / 1.061 GB, free: 8.082 MB / 0.8106 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.0005946/0.6781, allocations: 294 kB / 1.062 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.6784, allocations: 118.5 kB / 1.062 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.6797, allocations: 0.8543 MB / 1.063 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.6797, allocations: 4 kB / 1.063 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.6797, allocations: 0 / 1.063 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.6797, allocations: 3.984 kB / 1.063 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001215/0.6809, allocations: 0.9074 MB / 1.063 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.6809, allocations: 0 / 1.063 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005471/0.6815, allocations: 115.8 kB / 1.064 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.6817, allocations: 36.77 kB / 1.064 GB, free: 5.688 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.12e-05/0.6817, allocations: 12 kB / 1.064 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.6828, allocations: 1.335 MB / 1.065 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6828, allocations: 3.984 kB / 1.065 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.6847, allocations: 1.378 MB / 1.066 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004845/0.6852, allocations: 263.5 kB / 1.067 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.6853, allocations: 19.98 kB / 1.067 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005814/0.6859, allocations: 31.97 kB / 1.067 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.686, allocations: 27.95 kB / 1.067 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.686, allocations: 16 kB / 1.067 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001162/0.6872, allocations: 0.8154 MB / 1.067 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.853e-06/0.6872, allocations: 112 / 1.067 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001051/0.6882, allocations: 375.5 kB / 1.068 GB, free: 1.246 MB / 0.8106 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.0005486/0.6888, allocations: 279 kB / 1.068 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.6912, allocations: 1.511 MB / 1.07 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6913, allocations: 0 / 1.07 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.6918, allocations: 487.1 kB / 1.07 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.693, allocations: 212.6 kB / 1.07 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003989/0.697, allocations: 3.127 MB / 1.073 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.6977, allocations: 1.094 MB / 1.074 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.698, allocations: 67.44 kB / 1.074 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.698, allocations: 0 / 1.074 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.03635/0.7343, allocations: 30.56 MB / 1.104 GB, free: 11.87 MB / 0.8575 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches