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.001536/0.001536, allocations: 104 kB / 16.4 MB, free: 6.457 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.001768/0.001768, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.415/2.415, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7042/0.7055, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005091/0.7106, allocations: 4.363 MB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004622/0.7153, allocations: 2.934 MB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005837/0.7159, allocations: 23.88 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.717, allocations: 367.5 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.7184, allocations: 0.6493 MB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.7198, allocations: 0.6447 MB / 1.176 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001934/0.7218, allocations: 1.878 MB / 1.178 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.7221, allocations: 181.7 kB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008206/0.7229, allocations: 0.5996 MB / 1.179 GB, free: 8.164 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008722/0.7238, allocations: 0.6538 MB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001273/0.724, allocations: 76 kB / 1.179 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.7247, allocations: 427.4 kB / 1.18 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/0.7251, allocations: 462.6 kB / 1.18 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005589/0.7257, allocations: 0.5984 MB / 1.181 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001487/0.7272, allocations: 1.468 MB / 1.182 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.7272, allocations: 0 / 1.182 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7272, allocations: 0 / 1.182 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.7272, allocations: 0 / 1.182 GB, free: 4.488 MB / 0.9044 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.002878/0.7301, allocations: 1.627 MB / 1.184 GB, free: 2.805 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.7302, allocations: 12.88 kB / 1.184 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.7304, allocations: 131.3 kB / 1.184 GB, free: 2.664 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.7317, allocations: 0.8427 MB / 1.185 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.7318, allocations: 45.38 kB / 1.185 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.7319, allocations: 60.38 kB / 1.185 GB, free: 1.668 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.7328, allocations: 0.6178 MB / 1.185 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.7328, allocations: 0 / 1.185 GB, free: 1.031 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.7329, allocations: 16 kB / 1.185 GB, free: 1.016 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.7329, allocations: 8 kB / 1.185 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/0.7336, allocations: 0.5621 MB / 1.186 GB, free: 452 kB / 0.9044 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.004572/0.7382, allocations: 3.278 MB / 1.189 GB, free: 12.92 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.7396, allocations: 0.8439 MB / 1.19 GB, free: 12.06 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.74, allocations: 361.4 kB / 1.19 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.233e-05/0.7401, allocations: 36.19 kB / 1.19 GB, free: 11.67 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.7401, allocations: 38.94 kB / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.7401, allocations: 0 / 1.19 GB, free: 11.62 MB / 0.92 GB Notification: Performance of matching and sorting (n=45): time 0.001736/0.7419, allocations: 1.178 MB / 1.192 GB, free: 10.42 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7419, allocations: 55.41 kB / 1.192 GB, free: 10.35 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.7435, allocations: 1.231 MB / 1.193 GB, free: 9.109 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 6.204e-05/0.7436, allocations: 41.7 kB / 1.193 GB, free: 9.062 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.7439, allocations: 464.6 kB / 1.193 GB, free: 8.602 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.7441, allocations: 169.6 kB / 1.194 GB, free: 8.434 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.7444, allocations: 210.5 kB / 1.194 GB, free: 8.223 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7445, allocations: 349.9 kB / 1.194 GB, free: 7.875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.7453, allocations: 0.6426 MB / 1.195 GB, free: 7.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00098/0.7463, allocations: 0.9708 MB / 1.196 GB, free: 6.113 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.7482, allocations: 1.593 MB / 1.197 GB, free: 4.379 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.7482, allocations: 4 kB / 1.197 GB, free: 4.375 MB / 0.92 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00242/0.7506, allocations: 1.783 MB / 1.199 GB, free: 2.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.7507, allocations: 15.98 kB / 1.199 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.7507, allocations: 15.94 kB / 1.199 GB, free: 2.551 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002152/0.7509, allocations: 40.84 kB / 1.199 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7521, allocations: 272 kB / 1.199 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004065/0.7561, allocations: 6.832 MB / 1.206 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.7572, allocations: 126.7 kB / 1.206 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.7573, allocations: 36 kB / 1.206 GB, free: 10.92 MB / 0.9356 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.000427/0.7578, allocations: 311.8 kB / 1.206 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.7579, allocations: 114.4 kB / 1.206 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/0.7591, allocations: 0.8465 MB / 1.207 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.7592, allocations: 4 kB / 1.207 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.7592, allocations: 0 / 1.207 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.7592, allocations: 3.984 kB / 1.207 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.7602, allocations: 0.9151 MB / 1.208 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7602, allocations: 4 kB / 1.208 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.7608, allocations: 107.9 kB / 1.208 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.7609, allocations: 32.83 kB / 1.208 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.7609, allocations: 19.98 kB / 1.208 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.762, allocations: 1.437 MB / 1.21 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.762, allocations: 4.031 kB / 1.21 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.7636, allocations: 1.362 MB / 1.211 GB, free: 5.539 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/0.7641, allocations: 267.5 kB / 1.211 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.7642, allocations: 11.94 kB / 1.211 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.7647, allocations: 31.95 kB / 1.211 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.769e-05/0.7648, allocations: 27.95 kB / 1.211 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.7648, allocations: 16 kB / 1.211 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001054/0.7659, allocations: 0.8232 MB / 1.212 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7659, allocations: 0 / 1.212 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009911/0.7669, allocations: 363.7 kB / 1.213 GB, free: 3.988 MB / 0.9356 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.000498/0.7674, allocations: 273.4 kB / 1.213 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.7697, allocations: 1.502 MB / 1.214 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7698, allocations: 0 / 1.214 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005396/0.7703, allocations: 484.3 kB / 1.215 GB, free: 1.703 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.7714, allocations: 225.5 kB / 1.215 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003357/0.7748, allocations: 2.594 MB / 1.218 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.7754, allocations: 1.098 MB / 1.219 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.7757, allocations: 63.44 kB / 1.219 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of SimCode: time 5.31e-07/0.7757, allocations: 0 / 1.219 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of Templates: time 0.03316/0.8088, allocations: 30.81 MB / 1.249 GB, free: 14.9 MB / 0.9825 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