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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001185/0.001186, allocations: 110 kB / 16.41 MB, free: 6.5 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.00119/0.00119, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.61/2.61, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7824/0.7837, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005256/0.789, allocations: 4.364 MB / 1.213 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005699/0.7947, allocations: 2.934 MB / 1.216 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008399/0.7956, allocations: 23.81 kB / 1.216 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.7968, allocations: 371.5 kB / 1.216 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.7987, allocations: 0.6376 MB / 1.217 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.8004, allocations: 0.6353 MB / 1.217 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002111/0.8025, allocations: 1.874 MB / 1.219 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.8028, allocations: 177.9 kB / 1.219 GB, free: 2.602 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008339/0.8037, allocations: 0.6035 MB / 1.22 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009691/0.8046, allocations: 0.6576 MB / 1.22 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.8048, allocations: 76 kB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006977/0.8055, allocations: 419.4 kB / 1.221 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/0.8059, allocations: 458.7 kB / 1.221 GB, free: 412 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005703/0.8065, allocations: 0.6023 MB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.808, allocations: 1.468 MB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.808, allocations: 4 kB / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.705e-06/0.808, allocations: 0 / 1.223 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.8081, allocations: 0 / 1.223 GB, free: 14.32 MB / 0.9512 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.00293/0.811, allocations: 1.62 MB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.8111, allocations: 8.031 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.8113, allocations: 135.3 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.8125, allocations: 0.8387 MB / 1.226 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/0.8126, allocations: 45.38 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.8127, allocations: 64.36 kB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008897/0.8136, allocations: 0.6139 MB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.8136, allocations: 3.984 kB / 1.227 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.8137, allocations: 16 kB / 1.227 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.8137, allocations: 16 kB / 1.227 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007793/0.8145, allocations: 0.5621 MB / 1.227 GB, free: 10.28 MB / 0.9512 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.004471/0.819, allocations: 3.274 MB / 1.23 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.8204, allocations: 0.8465 MB / 1.231 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.8208, allocations: 361.4 kB / 1.231 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.357e-05/0.8209, allocations: 28.2 kB / 1.232 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.8209, allocations: 38.94 kB / 1.232 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 3.767e-06/0.8209, allocations: 3.984 kB / 1.232 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001868/0.8228, allocations: 1.183 MB / 1.233 GB, free: 4.262 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.8229, allocations: 55.41 kB / 1.233 GB, free: 4.195 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.8246, allocations: 1.227 MB / 1.234 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/0.8247, allocations: 45.69 kB / 1.234 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.825, allocations: 464.6 kB / 1.234 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.8252, allocations: 173.6 kB / 1.235 GB, free: 2.273 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.8255, allocations: 214.5 kB / 1.235 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.8257, allocations: 349.9 kB / 1.235 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008157/0.8265, allocations: 0.6387 MB / 1.236 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.8275, allocations: 0.9709 MB / 1.237 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.8293, allocations: 1.586 MB / 1.238 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.8293, allocations: 4 kB / 1.238 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002596/0.8319, allocations: 1.787 MB / 1.24 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.832, allocations: 12.03 kB / 1.24 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.832, allocations: 12 kB / 1.24 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002358/0.8323, allocations: 44.83 kB / 1.24 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.8335, allocations: 267.6 kB / 1.24 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.839, allocations: 6.84 MB / 1.247 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.8407, allocations: 122.7 kB / 1.247 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.077e-05/0.8408, allocations: 40 kB / 1.247 GB, free: 4.762 MB / 0.9669 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.0004851/0.8413, allocations: 297.4 kB / 1.247 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.8415, allocations: 114.4 kB / 1.248 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.8427, allocations: 0.8493 MB / 1.248 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.8427, allocations: 8 kB / 1.248 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.8427, allocations: 0 / 1.248 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8428, allocations: 0 / 1.248 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.8438, allocations: 0.9112 MB / 1.249 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.8438, allocations: 4 kB / 1.249 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.8443, allocations: 115.8 kB / 1.249 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001278/0.8445, allocations: 36.78 kB / 1.249 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.8445, allocations: 15.98 kB / 1.249 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/0.8456, allocations: 1.441 MB / 1.251 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.8456, allocations: 0 / 1.251 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.8473, allocations: 1.366 MB / 1.252 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.8477, allocations: 259.5 kB / 1.252 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8478, allocations: 15.92 kB / 1.252 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.8484, allocations: 27.97 kB / 1.252 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.802e-05/0.8485, allocations: 35.95 kB / 1.253 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.8485, allocations: 8 kB / 1.253 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001128/0.8496, allocations: 0.8194 MB / 1.253 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8497, allocations: 0 / 1.253 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001055/0.8507, allocations: 371.7 kB / 1.254 GB, free: 13.84 MB / 0.9825 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.0005212/0.8512, allocations: 270.9 kB / 1.254 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002515/0.8538, allocations: 1.507 MB / 1.255 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8538, allocations: 4.047 kB / 1.255 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005842/0.8544, allocations: 474.3 kB / 1.256 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.8555, allocations: 236.5 kB / 1.256 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/0.859, allocations: 2.578 MB / 1.259 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/0.8597, allocations: 1.094 MB / 1.26 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.86, allocations: 67.42 kB / 1.26 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of SimCode: time 8.62e-07/0.86, allocations: 0 / 1.26 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of Templates: time 0.03555/0.8955, allocations: 30.82 MB / 1.29 GB, free: 8.746 MB / 1.014 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