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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002366/0.002366, allocations: 108 kB / 15.61 MB, free: 152 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.002006/0.002006, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.807/2.807, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.89 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.7217, allocations: 151.6 MB / 1.017 GB, free: 2.465 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00618/0.7279, allocations: 4.358 MB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005309/0.7332, allocations: 2.946 MB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004823/0.7337, allocations: 19.88 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.7348, allocations: 365.7 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.7362, allocations: 0.6376 MB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.7379, allocations: 0.6353 MB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.7401, allocations: 1.878 MB / 1.028 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.7404, allocations: 181.9 kB / 1.028 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008918/0.7413, allocations: 0.5762 MB / 1.029 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.7423, allocations: 0.681 MB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.7425, allocations: 76 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007996/0.7433, allocations: 403.4 kB / 1.03 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005132/0.7438, allocations: 458.6 kB / 1.03 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006363/0.7445, allocations: 0.6023 MB / 1.031 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.7462, allocations: 1.456 MB / 1.032 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.7462, allocations: 4 kB / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.273e-06/0.7462, allocations: 0 / 1.032 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.7462, allocations: 0 / 1.032 GB, free: 3.137 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.003102/0.7493, allocations: 1.608 MB / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.7494, allocations: 15.98 kB / 1.034 GB, free: 1.461 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002202/0.7496, allocations: 135.2 kB / 1.034 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.7509, allocations: 0.8154 MB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.751, allocations: 45.31 kB / 1.035 GB, free: 424 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.7511, allocations: 72.27 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009201/0.752, allocations: 0.6062 MB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.752, allocations: 4 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.7521, allocations: 16 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.7521, allocations: 12 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008177/0.7529, allocations: 0.5621 MB / 1.036 GB, free: 15.12 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.004687/0.7576, allocations: 3.29 MB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.7591, allocations: 0.845 MB / 1.04 GB, free: 10.74 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.7596, allocations: 365.4 kB / 1.04 GB, free: 10.38 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.7597, allocations: 24.3 kB / 1.04 GB, free: 10.36 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.7598, allocations: 42.94 kB / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.7598, allocations: 0 / 1.04 GB, free: 10.3 MB / 0.795 GB Notification: Performance of matching and sorting (n=45): time 0.001951/0.7617, allocations: 1.182 MB / 1.042 GB, free: 9.094 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.7618, allocations: 55.41 kB / 1.042 GB, free: 9.027 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.7635, allocations: 1.235 MB / 1.043 GB, free: 7.781 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.096e-05/0.7636, allocations: 37.7 kB / 1.043 GB, free: 7.738 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/0.764, allocations: 464.7 kB / 1.043 GB, free: 7.277 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.7642, allocations: 177.5 kB / 1.043 GB, free: 7.102 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.7645, allocations: 206.5 kB / 1.044 GB, free: 6.895 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.7647, allocations: 349.9 kB / 1.044 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008533/0.7655, allocations: 0.6387 MB / 1.045 GB, free: 5.91 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.7666, allocations: 0.9825 MB / 1.046 GB, free: 4.777 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.7686, allocations: 1.586 MB / 1.047 GB, free: 3.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.7686, allocations: 4 kB / 1.047 GB, free: 3.047 MB / 0.795 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002605/0.7712, allocations: 1.779 MB / 1.049 GB, free: 1.258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.7712, allocations: 12 kB / 1.049 GB, free: 1.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.813e-05/0.7713, allocations: 12 kB / 1.049 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002241/0.7715, allocations: 44.83 kB / 1.049 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.7727, allocations: 268 kB / 1.049 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/0.7774, allocations: 6.832 MB / 1.056 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/0.7785, allocations: 130.6 kB / 1.056 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.7786, allocations: 48.22 kB / 1.056 GB, free: 9.594 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.0004879/0.7791, allocations: 301.4 kB / 1.056 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.7793, allocations: 114.5 kB / 1.056 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.7806, allocations: 0.8501 MB / 1.057 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7806, allocations: 4 kB / 1.057 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.7806, allocations: 4 kB / 1.057 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7806, allocations: 0 / 1.057 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.7817, allocations: 0.9074 MB / 1.058 GB, free: 7.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.7817, allocations: 3.984 kB / 1.058 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005445/0.7823, allocations: 107.9 kB / 1.058 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001245/0.7824, allocations: 32.83 kB / 1.058 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.7825, allocations: 20 kB / 1.058 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001177/0.7837, allocations: 1.445 MB / 1.06 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7837, allocations: 0 / 1.06 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.7855, allocations: 1.358 MB / 1.061 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.7859, allocations: 271.5 kB / 1.061 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.786, allocations: 19.92 kB / 1.061 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/0.7866, allocations: 23.97 kB / 1.061 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.7867, allocations: 27.95 kB / 1.061 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.7867, allocations: 16 kB / 1.061 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001216/0.788, allocations: 0.8115 MB / 1.062 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.788, allocations: 0 / 1.062 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001056/0.789, allocations: 367.7 kB / 1.063 GB, free: 2.676 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.0005672/0.7896, allocations: 284.6 kB / 1.063 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002796/0.7924, allocations: 1.601 MB / 1.064 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7924, allocations: 192 / 1.064 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006142/0.793, allocations: 486.1 kB / 1.065 GB, free: 284 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.7941, allocations: 231.7 kB / 1.065 GB, free: 56 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.798, allocations: 2.537 MB / 1.068 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007918/0.7988, allocations: 1.094 MB / 1.069 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005925/0.7994, allocations: 203.1 kB / 1.069 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.7996, allocations: 75.36 kB / 1.069 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of SimCode: time 7.62e-07/0.7996, allocations: 0 / 1.069 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.02723/0.8268, allocations: 14.52 MB / 1.083 GB, free: 13.73 MB / 0.8419 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches