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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008169/0.0008169, allocations: 81.95 kB / 21.47 MB, free: 3.031 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 166 kB / 24.87 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9358/0.9358, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.862/1.862, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conPCM.T.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.698e-05, allocations: 6.25 kB / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00384/0.003857, allocations: 4.313 MB / 0.7925 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00325/0.007106, allocations: 2.932 MB / 0.7953 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.007386, allocations: 31.75 kB / 0.7954 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006624/0.008049, allocations: 350.1 kB / 0.7957 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.009078, allocations: 0.7174 MB / 0.7964 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.009934, allocations: 0.6783 MB / 0.7971 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001279/0.01121, allocations: 1.937 MB / 0.799 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.01142, allocations: 122.4 kB / 0.7991 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.01215, allocations: 0.8196 MB / 0.7999 GB, free: 368 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000632/0.01278, allocations: 0.6321 MB / 0.8005 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 8.84e-05/0.01287, allocations: 76 kB / 0.8006 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.01331, allocations: 409.6 kB / 0.801 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003444/0.01366, allocations: 0.5064 MB / 0.8014 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.01396, allocations: 419 kB / 0.8018 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0009916/0.01496, allocations: 1.148 MB / 0.803 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01496, allocations: 0 / 0.803 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.72e-07/0.01496, allocations: 3.031 kB / 0.803 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.916e-06/0.01497, allocations: 0 / 0.803 GB, free: 13.18 MB / 0.7605 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.00164/0.01661, allocations: 1.682 MB / 0.8046 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.01664, allocations: 8.031 kB / 0.8046 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.01691, allocations: 188 kB / 0.8048 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.01761, allocations: 0.6927 MB / 0.8055 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.01764, allocations: 45.38 kB / 0.8055 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.01771, allocations: 68.31 kB / 0.8056 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003384/0.01805, allocations: 347.3 kB / 0.8059 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.01806, allocations: 1.094 kB / 0.8059 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.01808, allocations: 24.06 kB / 0.8059 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.01809, allocations: 12 kB / 0.806 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.01824, allocations: 119.9 kB / 0.8061 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.02011, allocations: 2.073 MB / 0.8081 GB, free: 7.793 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005012/0.02061, allocations: 385.6 kB / 0.8085 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.02071, allocations: 90.77 kB / 0.8085 GB, free: 7.312 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.02077, allocations: 28.36 kB / 0.8086 GB, free: 7.285 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.02079, allocations: 45.7 kB / 0.8086 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 1.542e-06/0.02079, allocations: 0 / 0.8086 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.0005781/0.02137, allocations: 425.2 kB / 0.809 GB, free: 6.805 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.0214, allocations: 63.41 kB / 0.8091 GB, free: 6.73 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008589/0.02226, allocations: 1.11 MB / 0.8102 GB, free: 5.609 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.02229, allocations: 41.7 kB / 0.8102 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002858/0.02258, allocations: 0.5466 MB / 0.8107 GB, free: 5.008 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.02268, allocations: 178.5 kB / 0.8109 GB, free: 4.832 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.02286, allocations: 244 kB / 0.8111 GB, free: 4.586 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.023, allocations: 0.5276 MB / 0.8117 GB, free: 4.051 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.02317, allocations: 162.2 kB / 0.8118 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.02353, allocations: 0.6361 MB / 0.8124 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005678/0.0241, allocations: 0.8703 MB / 0.8133 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.0241, allocations: 0 / 0.8133 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0007982/0.0249, allocations: 0.88 MB / 0.8141 GB, free: 1.098 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.02492, allocations: 8 kB / 0.8142 GB, free: 1.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.02494, allocations: 12 kB / 0.8142 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.0251, allocations: 52.28 kB / 0.8142 GB, free: 1.023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005456/0.02564, allocations: 255.6 kB / 0.8145 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00285/0.02849, allocations: 9.046 MB / 0.8233 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.02889, allocations: 127.3 kB / 0.8234 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.02893, allocations: 32 kB / 0.8234 GB, free: 7.227 MB / 0.7761 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.000159/0.02908, allocations: 216.2 kB / 0.8237 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.02919, allocations: 127.2 kB / 0.8238 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.0297, allocations: 366.2 kB / 0.8241 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.0297, allocations: 4 kB / 0.8241 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.02971, allocations: 3.938 kB / 0.8241 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.02971, allocations: 7.922 kB / 0.8241 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.03015, allocations: 487 kB / 0.8246 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.03015, allocations: 0 / 0.8246 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.03039, allocations: 95.89 kB / 0.8247 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.03051, allocations: 39.59 kB / 0.8247 GB, free: 5.859 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.03054, allocations: 11.98 kB / 0.8247 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006914/0.03123, allocations: 1.721 MB / 0.8264 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.03123, allocations: 4 kB / 0.8264 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004956/0.03173, allocations: 0.5896 MB / 0.827 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.03194, allocations: 183 kB / 0.8272 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.232e-05/0.03201, allocations: 15.98 kB / 0.8272 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/0.03225, allocations: 8.125 kB / 0.8272 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.0323, allocations: 35.94 kB / 0.8272 GB, free: 3.152 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.03231, allocations: 12 kB / 0.8272 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004064/0.03272, allocations: 0.6198 MB / 0.8278 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.03272, allocations: 0 / 0.8278 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006044/0.03332, allocations: 367.6 kB / 0.8282 GB, free: 2.156 MB / 0.7761 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.0003758/0.0337, allocations: 290.7 kB / 0.8285 GB, free: 1.863 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0009455/0.03464, allocations: 0.7929 MB / 0.8293 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.03465, allocations: 0 / 0.8293 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.03486, allocations: 301.4 kB / 0.8295 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006192/0.03548, allocations: 235.8 kB / 0.8298 GB, free: 0.4922 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.03753, allocations: 1.962 MB / 0.8317 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.03768, allocations: 235.2 kB / 0.8319 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001998/0.03788, allocations: 115.1 kB / 0.832 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.03826, allocations: 302 kB / 0.8323 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of SimCode: time 5.11e-07/0.03826, allocations: 0 / 0.8323 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of Templates: time 0.01866/0.05691, allocations: 17.13 MB / 0.849 GB, free: 13.04 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.439419178292155]