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.001086/0.001086, allocations: 89.06 kB / 19.65 MB, free: 268 kB / 13.93 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.001086/0.001086, allocations: 177 kB / 23.02 MB, free: 1.535 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.031/1.031, allocations: 177.2 MB / 203.4 MB, free: 5.453 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.172/2.172, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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 2.525e-06/2.525e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.059e-05/4.311e-05, allocations: 6.25 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005223/0.005266, allocations: 4.377 MB / 0.8824 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005131/0.0104, allocations: 2.955 MB / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.01145, allocations: 27.75 kB / 0.8853 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.01314, allocations: 350.8 kB / 0.8857 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.01498, allocations: 0.723 MB / 0.8864 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.01669, allocations: 0.6702 MB / 0.887 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.01929, allocations: 1.944 MB / 0.8889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003683/0.01966, allocations: 114.5 kB / 0.889 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.02169, allocations: 0.8224 MB / 0.8898 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.02293, allocations: 0.6351 MB / 0.8904 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.02321, allocations: 76 kB / 0.8905 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009912/0.0242, allocations: 403.4 kB / 0.8909 GB, free: 9.227 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.02461, allocations: 0.5064 MB / 0.8914 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006059/0.02522, allocations: 422.9 kB / 0.8918 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.02736, allocations: 1.148 MB / 0.8929 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02737, allocations: 0 / 0.8929 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.053e-06/0.02737, allocations: 0 / 0.8929 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.351e-05/0.02741, allocations: 4 kB / 0.8929 GB, free: 7.148 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.002433/0.02984, allocations: 1.706 MB / 0.8946 GB, free: 5.398 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/0.0299, allocations: 12.03 kB / 0.8946 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/0.03036, allocations: 184 kB / 0.8948 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000996/0.03135, allocations: 0.7301 MB / 0.8955 GB, free: 4.434 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.03139, allocations: 45.38 kB / 0.8955 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.544e-05/0.03147, allocations: 68.3 kB / 0.8956 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.032, allocations: 367.4 kB / 0.896 GB, free: 3.945 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.03202, allocations: 8.109 kB / 0.896 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.03205, allocations: 24.12 kB / 0.896 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.03207, allocations: 8 kB / 0.896 GB, free: 3.906 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.03234, allocations: 153.8 kB / 0.8961 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.03506, allocations: 2.094 MB / 0.8982 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007278/0.03579, allocations: 414.5 kB / 0.8986 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.03595, allocations: 108.4 kB / 0.8987 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.058e-05/0.03604, allocations: 20.36 kB / 0.8987 GB, free: 1.059 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.03607, allocations: 45.75 kB / 0.8987 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 6.052e-06/0.03608, allocations: 3.984 kB / 0.8987 GB, free: 1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.0009632/0.03704, allocations: 477.1 kB / 0.8992 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.03708, allocations: 55.41 kB / 0.8993 GB, free: 468 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.03852, allocations: 1.146 MB / 0.9004 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.03855, allocations: 41.7 kB / 0.9004 GB, free: 15.25 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003049/0.03886, allocations: 0.5274 MB / 0.9009 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.03897, allocations: 182.4 kB / 0.9011 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.03922, allocations: 232.2 kB / 0.9013 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.03938, allocations: 0.5238 MB / 0.9018 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.03965, allocations: 210.2 kB / 0.902 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.0401, allocations: 0.6675 MB / 0.9027 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008824/0.04098, allocations: 0.9486 MB / 0.9036 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/0.04099, allocations: 4 kB / 0.9036 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001234/0.04223, allocations: 0.9736 MB / 0.9046 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.04226, allocations: 10.34 kB / 0.9046 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.621e-05/0.04229, allocations: 15.98 kB / 0.9046 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.04254, allocations: 52.38 kB / 0.9046 GB, free: 10.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.04319, allocations: 271.6 kB / 0.9049 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/0.04729, allocations: 9.069 MB / 0.9138 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/0.04797, allocations: 143 kB / 0.9139 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/0.04802, allocations: 36 kB / 0.9139 GB, free: 0.625 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.0002599/0.04828, allocations: 216.2 kB / 0.9141 GB, free: 412 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.04841, allocations: 123.2 kB / 0.9143 GB, free: 288 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.04896, allocations: 402.1 kB / 0.9146 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.04897, allocations: 7.938 kB / 0.9146 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.04897, allocations: 3.938 kB / 0.9147 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.04898, allocations: 3.984 kB / 0.9147 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.04962, allocations: 0.6221 MB / 0.9153 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.04963, allocations: 0 / 0.9153 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.04993, allocations: 103.9 kB / 0.9154 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001708/0.0501, allocations: 35.66 kB / 0.9154 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.05015, allocations: 19.98 kB / 0.9154 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008765/0.05102, allocations: 1.736 MB / 0.9171 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.05102, allocations: 0 / 0.9171 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006696/0.05169, allocations: 0.6286 MB / 0.9177 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002758/0.05197, allocations: 195 kB / 0.9179 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.05205, allocations: 15.98 kB / 0.9179 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002839/0.05233, allocations: 28.09 kB / 0.918 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.05241, allocations: 31.94 kB / 0.918 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.05243, allocations: 12 kB / 0.918 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000671/0.0531, allocations: 0.6748 MB / 0.9187 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.0531, allocations: 0 / 0.9187 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008944/0.05399, allocations: 371.6 kB / 0.919 GB, free: 11.22 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.0004529/0.05445, allocations: 286.7 kB / 0.9193 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001183/0.05563, allocations: 0.8436 MB / 0.9201 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.05564, allocations: 4 kB / 0.9201 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.0559, allocations: 311 kB / 0.9204 GB, free: 9.73 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.05699, allocations: 232.4 kB / 0.9206 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.05969, allocations: 1.982 MB / 0.9226 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.05987, allocations: 227.2 kB / 0.9228 GB, free: 7.242 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0003703/0.06024, allocations: 171 kB / 0.9229 GB, free: 7.07 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.06039, allocations: 72.48 kB / 0.923 GB, free: 7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.703e-06/0.06039, allocations: 3.938 kB / 0.923 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of Templates: time 0.02366/0.08405, allocations: 16.57 MB / 0.9392 GB, free: 6.711 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: 5.982103940099478]