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.001383/0.001383, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001693/0.001693, allocations: 169 kB / 24.06 MB, free: 456 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 1.032/1.032, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.178/2.178, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.563e-06/1.563e-06, allocations: 0 / 0.8793 GB, free: 6.105 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.757e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005973/0.006001, allocations: 4.316 MB / 0.8836 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005467/0.01147, allocations: 2.932 MB / 0.8864 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007969/0.01226, allocations: 27.75 kB / 0.8865 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001301/0.01357, allocations: 357.5 kB / 0.8868 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002208/0.01577, allocations: 0.7151 MB / 0.8875 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002076/0.01785, allocations: 0.674 MB / 0.8882 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003033/0.02088, allocations: 1.94 MB / 0.89 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.02125, allocations: 122.4 kB / 0.8902 GB, free: 11 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002442/0.0237, allocations: 0.8262 MB / 0.891 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001703/0.0254, allocations: 0.6234 MB / 0.8916 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002819/0.02568, allocations: 76 kB / 0.8917 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.02693, allocations: 415.3 kB / 0.892 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006778/0.0276, allocations: 0.5064 MB / 0.8925 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0007526/0.02836, allocations: 419 kB / 0.8929 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002/0.03036, allocations: 1.145 MB / 0.8941 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.03036, allocations: 0 / 0.8941 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.042e-06/0.03036, allocations: 4 kB / 0.8941 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.695e-05/0.03039, allocations: 0 / 0.8941 GB, free: 6.992 MB / 0.8542 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.00296/0.03335, allocations: 1.695 MB / 0.8957 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.03341, allocations: 8.031 kB / 0.8957 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004706/0.03388, allocations: 180 kB / 0.8959 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.03506, allocations: 0.6988 MB / 0.8966 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/0.03511, allocations: 45.38 kB / 0.8966 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.03522, allocations: 64.36 kB / 0.8967 GB, free: 4.223 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005462/0.03576, allocations: 339.4 kB / 0.897 GB, free: 3.867 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.03578, allocations: 4.188 kB / 0.897 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.03582, allocations: 20.12 kB / 0.897 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.03584, allocations: 12 kB / 0.897 GB, free: 3.832 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002557/0.0361, allocations: 126.8 kB / 0.8972 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.03935, allocations: 2.066 MB / 0.8992 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.04016, allocations: 386 kB / 0.8995 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.04033, allocations: 94.19 kB / 0.8996 GB, free: 1.102 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.689e-05/0.04041, allocations: 28.36 kB / 0.8997 GB, free: 1.074 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.04044, allocations: 41.77 kB / 0.8997 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 4.048e-06/0.04044, allocations: 0 / 0.8997 GB, free: 1.023 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.0009868/0.04143, allocations: 433.1 kB / 0.9001 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.04147, allocations: 59.41 kB / 0.9002 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.0428, allocations: 1.118 MB / 0.9013 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.04285, allocations: 41.7 kB / 0.9013 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004422/0.04329, allocations: 0.535 MB / 0.9018 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.04347, allocations: 186.3 kB / 0.902 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004184/0.04389, allocations: 236.1 kB / 0.9022 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002465/0.04414, allocations: 0.5316 MB / 0.9028 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.04434, allocations: 158.2 kB / 0.9029 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.04474, allocations: 0.6439 MB / 0.9035 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.04536, allocations: 0.8664 MB / 0.9044 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.04537, allocations: 4 kB / 0.9044 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001021/0.04639, allocations: 0.8796 MB / 0.9052 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.04641, allocations: 8.969 kB / 0.9052 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.04643, allocations: 12 kB / 0.9053 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.04663, allocations: 55.59 kB / 0.9053 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.04723, allocations: 251.7 kB / 0.9056 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002957/0.05019, allocations: 9.046 MB / 0.9144 GB, free: 1.164 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005054/0.05069, allocations: 123 kB / 0.9145 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.05073, allocations: 36 kB / 0.9145 GB, free: 1.008 MB / 0.8698 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.0002046/0.05094, allocations: 216.2 kB / 0.9147 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.05105, allocations: 123.2 kB / 0.9149 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004347/0.05149, allocations: 374.1 kB / 0.9152 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.05149, allocations: 4 kB / 0.9152 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.0515, allocations: 8 kB / 0.9152 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.05151, allocations: 7.969 kB / 0.9152 GB, free: 276 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.05198, allocations: 483.1 kB / 0.9157 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.05198, allocations: 0 / 0.9157 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.05224, allocations: 99.78 kB / 0.9158 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.05235, allocations: 35.66 kB / 0.9158 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.05237, allocations: 12 kB / 0.9158 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006565/0.05303, allocations: 1.713 MB / 0.9175 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.05303, allocations: 0 / 0.9175 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.05354, allocations: 0.5973 MB / 0.9181 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002364/0.05378, allocations: 183.1 kB / 0.9183 GB, free: 13 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.05386, allocations: 19.92 kB / 0.9183 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.05412, allocations: 11.98 kB / 0.9183 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.05417, allocations: 27.95 kB / 0.9183 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.05418, allocations: 15.98 kB / 0.9183 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004362/0.05462, allocations: 0.6082 MB / 0.9189 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.05462, allocations: 0 / 0.9189 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006616/0.05528, allocations: 367.6 kB / 0.9193 GB, free: 11.95 MB / 0.8855 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.0003704/0.05565, allocations: 297.1 kB / 0.9196 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009221/0.05657, allocations: 0.7862 MB / 0.9203 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.05658, allocations: 0 / 0.9203 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002085/0.05678, allocations: 301.4 kB / 0.9206 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000629/0.05741, allocations: 226.8 kB / 0.9208 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.05949, allocations: 1.986 MB / 0.9228 GB, free: 8.281 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.05965, allocations: 235.2 kB / 0.923 GB, free: 8.031 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002064/0.05986, allocations: 115.1 kB / 0.9231 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.06026, allocations: 302 kB / 0.9234 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of SimCode: time 8.62e-07/0.06026, allocations: 0 / 0.9234 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of Templates: time 0.01866/0.07892, allocations: 17.13 MB / 0.9401 GB, free: 6.805 MB / 0.9011 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 -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: 6.1126387771219015]