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.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.001382/0.001382, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001567/0.001567, allocations: 181 kB / 23.36 MB, free: 1.133 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 1.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.548/2.548, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.267e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004657/0.00469, allocations: 4.358 MB / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004038/0.008728, allocations: 3.014 MB / 0.8458 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004466/0.009175, allocations: 31.75 kB / 0.8458 GB, free: 6.785 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008062/0.009981, allocations: 369.5 kB / 0.8462 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001276/0.01126, allocations: 0.7229 MB / 0.8469 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.01243, allocations: 0.6467 MB / 0.8475 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00149/0.01392, allocations: 1.936 MB / 0.8494 GB, free: 3.105 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.01412, allocations: 135 kB / 0.8495 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008169/0.01494, allocations: 0.8224 MB / 0.8503 GB, free: 2.133 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006467/0.01559, allocations: 0.6039 MB / 0.8509 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-05/0.01568, allocations: 76 kB / 0.851 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006146/0.0163, allocations: 447.2 kB / 0.8514 GB, free: 1.016 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003438/0.01664, allocations: 0.5142 MB / 0.8519 GB, free: 0.5 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.01693, allocations: 419 kB / 0.8523 GB, free: 92 kB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009515/0.01788, allocations: 1.137 MB / 0.8534 GB, free: 14.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.01789, allocations: 0 / 0.8534 GB, free: 14.95 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.262e-06/0.01789, allocations: 0 / 0.8534 GB, free: 14.95 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.0179, allocations: 0 / 0.8534 GB, free: 14.95 MB / 0.823 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.001729/0.01963, allocations: 1.514 MB / 0.8549 GB, free: 13.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.01966, allocations: 8.625 kB / 0.8549 GB, free: 13.39 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.01992, allocations: 128.8 kB / 0.855 GB, free: 13.27 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006947/0.02061, allocations: 0.6271 MB / 0.8556 GB, free: 12.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.02064, allocations: 45.38 kB / 0.8557 GB, free: 12.55 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.02072, allocations: 68.31 kB / 0.8558 GB, free: 12.49 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.02107, allocations: 339.9 kB / 0.8561 GB, free: 12.13 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.02108, allocations: 192 / 0.8561 GB, free: 12.13 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.0211, allocations: 20.12 kB / 0.8561 GB, free: 12.11 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.02112, allocations: 12 kB / 0.8561 GB, free: 12.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.02127, allocations: 109.7 kB / 0.8562 GB, free: 11.99 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.02298, allocations: 1.539 MB / 0.8577 GB, free: 10.42 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.0235, allocations: 400.9 kB / 0.8581 GB, free: 10.01 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.0236, allocations: 93.55 kB / 0.8582 GB, free: 9.918 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.502e-05/0.02366, allocations: 24.36 kB / 0.8582 GB, free: 9.895 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.02368, allocations: 38.94 kB / 0.8582 GB, free: 9.848 MB / 0.823 GB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.02369, allocations: 0 / 0.8582 GB, free: 9.848 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.0005096/0.0242, allocations: 321 kB / 0.8586 GB, free: 9.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.02423, allocations: 59.41 kB / 0.8586 GB, free: 9.453 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.02488, allocations: 0.9357 MB / 0.8595 GB, free: 8.508 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.02491, allocations: 41.7 kB / 0.8596 GB, free: 8.461 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.02507, allocations: 327.2 kB / 0.8599 GB, free: 8.137 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.02518, allocations: 194.3 kB / 0.8601 GB, free: 7.945 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.02533, allocations: 194.5 kB / 0.8602 GB, free: 7.75 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002332/0.02557, allocations: 349.8 kB / 0.8606 GB, free: 7.402 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.02574, allocations: 169.1 kB / 0.8607 GB, free: 7.238 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.02604, allocations: 0.4946 MB / 0.8612 GB, free: 6.602 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005447/0.02658, allocations: 0.75 MB / 0.862 GB, free: 5.703 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.02659, allocations: 0 / 0.862 GB, free: 5.703 MB / 0.823 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0007257/0.02732, allocations: 0.7383 MB / 0.8627 GB, free: 4.949 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.02733, allocations: 8 kB / 0.8627 GB, free: 4.941 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.02735, allocations: 12 kB / 0.8627 GB, free: 4.93 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.02753, allocations: 43.66 kB / 0.8627 GB, free: 4.883 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.02824, allocations: 287.7 kB / 0.863 GB, free: 4.605 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.03046, allocations: 6.084 MB / 0.869 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/0.03091, allocations: 123.1 kB / 0.8691 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.03094, allocations: 28 kB / 0.8691 GB, free: 14.07 MB / 0.8386 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.0001664/0.03111, allocations: 164.4 kB / 0.8693 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.458e-05/0.03119, allocations: 67.92 kB / 0.8693 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.03156, allocations: 322 kB / 0.8696 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.03157, allocations: 4 kB / 0.8696 GB, free: 13.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.03157, allocations: 4 kB / 0.8696 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.03157, allocations: 7.984 kB / 0.8696 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.03198, allocations: 410.8 kB / 0.87 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.03198, allocations: 4 kB / 0.87 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.03234, allocations: 139.7 kB / 0.8702 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001059/0.03244, allocations: 35.66 kB / 0.8702 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.03247, allocations: 16 kB / 0.8702 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005453/0.03302, allocations: 1.216 MB / 0.8714 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.03302, allocations: 4.125 kB / 0.8714 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.03346, allocations: 0.4899 MB / 0.8719 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.03367, allocations: 151 kB / 0.872 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.03374, allocations: 11.98 kB / 0.872 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.03398, allocations: 12 kB / 0.8721 GB, free: 10.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/0.03403, allocations: 35.88 kB / 0.8721 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.03405, allocations: 4 kB / 0.8721 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003591/0.03441, allocations: 474.1 kB / 0.8725 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.03441, allocations: 3.938 kB / 0.8725 GB, free: 10.36 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006728/0.03508, allocations: 375.6 kB / 0.8729 GB, free: 9.996 MB / 0.8386 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.03545, allocations: 268.4 kB / 0.8732 GB, free: 9.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009103/0.03636, allocations: 0.6828 MB / 0.8738 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.03637, allocations: 16.12 kB / 0.8738 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.03655, allocations: 231.2 kB / 0.8741 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.03715, allocations: 242.5 kB / 0.8743 GB, free: 8.531 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.03924, allocations: 1.749 MB / 0.876 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.03939, allocations: 239 kB / 0.8762 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.03963, allocations: 115.2 kB / 0.8763 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/0.04006, allocations: 265.1 kB / 0.8766 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of SimCode: time 1.342e-06/0.04006, allocations: 0 / 0.8766 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of Templates: time 0.02127/0.06133, allocations: 17.15 MB / 0.8933 GB, free: 5.32 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.728468357119709]