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.001294/0.001294, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.001538/0.001538, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9462/0.9462, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.699/1.699, allocations: 359 MB / 0.6055 GB, free: 10.91 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.373e-06/1.373e-06, allocations: 0 / 0.7875 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.396e-05/1.533e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004125/0.00414, allocations: 4.306 MB / 0.7917 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003487/0.007627, allocations: 2.935 MB / 0.7946 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003689/0.007996, allocations: 27.75 kB / 0.7946 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.008685, allocations: 358.9 kB / 0.795 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0009688/0.009653, allocations: 0.728 MB / 0.7957 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.01068, allocations: 0.676 MB / 0.7963 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001466/0.01215, allocations: 1.944 MB / 0.7982 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.01235, allocations: 118.4 kB / 0.7983 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.01336, allocations: 0.8301 MB / 0.7992 GB, free: 356 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006444/0.01401, allocations: 0.6184 MB / 0.7998 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001144/0.01412, allocations: 80 kB / 0.7998 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.01459, allocations: 411.3 kB / 0.8002 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.01491, allocations: 0.5118 MB / 0.8007 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002928/0.0152, allocations: 419 kB / 0.8011 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008706/0.01607, allocations: 1.141 MB / 0.8022 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.01608, allocations: 4 kB / 0.8022 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.21e-07/0.01608, allocations: 0.625 kB / 0.8022 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.01609, allocations: 0 / 0.8022 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.001678/0.01776, allocations: 1.69 MB / 0.8039 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.0178, allocations: 11.97 kB / 0.8039 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002397/0.01804, allocations: 184 kB / 0.8041 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006292/0.01867, allocations: 0.6902 MB / 0.8048 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.616e-05/0.01869, allocations: 45.38 kB / 0.8048 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6e-05/0.01875, allocations: 65.39 kB / 0.8049 GB, free: 10.43 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.01906, allocations: 339.3 kB / 0.8052 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.01907, allocations: 4.188 kB / 0.8052 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.0191, allocations: 20.12 kB / 0.8052 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.01911, allocations: 8 kB / 0.8052 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.01926, allocations: 130.8 kB / 0.8053 GB, free: 9.914 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.02104, allocations: 2.074 MB / 0.8074 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.02151, allocations: 380.9 kB / 0.8077 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.678e-05/0.0216, allocations: 94.77 kB / 0.8078 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-05/0.02166, allocations: 34.97 kB / 0.8079 GB, free: 7.273 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.02168, allocations: 45.7 kB / 0.8079 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 1.873e-06/0.02168, allocations: 0 / 0.8079 GB, free: 7.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.0005441/0.02223, allocations: 425.2 kB / 0.8083 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.479e-05/0.02225, allocations: 55.41 kB / 0.8084 GB, free: 6.727 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/0.02299, allocations: 1.118 MB / 0.8094 GB, free: 5.598 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.02302, allocations: 37.7 kB / 0.8095 GB, free: 5.555 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.02349, allocations: 0.5466 MB / 0.81 GB, free: 5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.02359, allocations: 186.4 kB / 0.8102 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001754/0.02376, allocations: 236.1 kB / 0.8104 GB, free: 4.578 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.0239, allocations: 0.5315 MB / 0.8109 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.02406, allocations: 162.2 kB / 0.8111 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.02439, allocations: 0.6322 MB / 0.8117 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.02493, allocations: 0.8742 MB / 0.8126 GB, free: 1.977 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.02494, allocations: 4 kB / 0.8126 GB, free: 1.973 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0007722/0.02571, allocations: 0.8759 MB / 0.8134 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.02573, allocations: 9.719 kB / 0.8134 GB, free: 1.074 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.02575, allocations: 16.84 kB / 0.8134 GB, free: 1.059 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.0259, allocations: 47.66 kB / 0.8135 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005322/0.02644, allocations: 259.6 kB / 0.8137 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.02919, allocations: 9.046 MB / 0.8226 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.02957, allocations: 123 kB / 0.8227 GB, free: 7.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.02961, allocations: 32 kB / 0.8227 GB, free: 7.211 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.0001538/0.02976, allocations: 216.2 kB / 0.8229 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.02987, allocations: 131.2 kB / 0.8231 GB, free: 6.859 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.03025, allocations: 358.2 kB / 0.8234 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.03025, allocations: 4 kB / 0.8234 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.03026, allocations: 4 kB / 0.8234 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.03026, allocations: 7.984 kB / 0.8234 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.03093, allocations: 487 kB / 0.8239 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.03094, allocations: 0 / 0.8239 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.03118, allocations: 107.8 kB / 0.824 GB, free: 5.879 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.802e-05/0.03128, allocations: 27.66 kB / 0.824 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.0313, allocations: 16 kB / 0.824 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006143/0.03192, allocations: 1.725 MB / 0.8257 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.03192, allocations: 0 / 0.8257 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.03241, allocations: 0.5857 MB / 0.8263 GB, free: 3.379 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.03262, allocations: 179 kB / 0.8264 GB, free: 3.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.03268, allocations: 16.11 kB / 0.8265 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.03292, allocations: 15.98 kB / 0.8265 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.03297, allocations: 31.89 kB / 0.8265 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.03298, allocations: 11.98 kB / 0.8265 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003889/0.03337, allocations: 0.6199 MB / 0.8271 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3e-08/0.03337, allocations: 0 / 0.8271 GB, free: 2.504 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005847/0.03395, allocations: 367.6 kB / 0.8275 GB, free: 2.145 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.0003455/0.0343, allocations: 290.8 kB / 0.8278 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0008515/0.03515, allocations: 0.7884 MB / 0.8285 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.03515, allocations: 1.938 kB / 0.8285 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.03534, allocations: 297.5 kB / 0.8288 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.0005778/0.03592, allocations: 226.4 kB / 0.829 GB, free: 0.5 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00206/0.03798, allocations: 1.972 MB / 0.831 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.03812, allocations: 235.2 kB / 0.8312 GB, free: 14.24 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002007/0.03832, allocations: 115.1 kB / 0.8313 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003726/0.03869, allocations: 298 kB / 0.8316 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of SimCode: time 8.11e-07/0.03869, allocations: 0 / 0.8316 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of Templates: time 0.01835/0.05704, allocations: 16.81 MB / 0.848 GB, free: 13.37 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.240501455031335]