Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009569/0.0009569, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009486/0.0009486, 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.9004/0.9004, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.935/1.935, allocations: 377.9 MB / 0.624 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8119 GB, free: 384 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.997e-05, allocations: 7.156 kB / 0.812 GB, free: 376 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004152/0.004172, allocations: 4.319 MB / 0.8162 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003481/0.007653, allocations: 2.939 MB / 0.819 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.007898, allocations: 28.69 kB / 0.8191 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00065/0.008548, allocations: 350.6 kB / 0.8194 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0008817/0.00943, allocations: 0.732 MB / 0.8201 GB, free: 8.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008518/0.01028, allocations: 0.6744 MB / 0.8208 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001197/0.01148, allocations: 1.94 MB / 0.8227 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.01167, allocations: 115.7 kB / 0.8228 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.01241, allocations: 0.8185 MB / 0.8236 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005593/0.01297, allocations: 0.6269 MB / 0.8242 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.019e-05/0.01306, allocations: 76 kB / 0.8243 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004369/0.01349, allocations: 423.2 kB / 0.8247 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004318/0.01392, allocations: 0.5026 MB / 0.8252 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.01421, allocations: 415 kB / 0.8256 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008776/0.01508, allocations: 1.151 MB / 0.8267 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.01509, allocations: 3.938 kB / 0.8267 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.212e-06/0.01509, allocations: 0 / 0.8267 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.0151, allocations: 0 / 0.8267 GB, free: 1.262 MB / 0.7292 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.0016/0.0167, allocations: 1.682 MB / 0.8283 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.01673, allocations: 9.344 kB / 0.8283 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002414/0.01697, allocations: 180 kB / 0.8285 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006498/0.01762, allocations: 0.6991 MB / 0.8292 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.01765, allocations: 45.38 kB / 0.8292 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.01771, allocations: 65.8 kB / 0.8293 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.01803, allocations: 343.3 kB / 0.8296 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.01804, allocations: 192 / 0.8296 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.01806, allocations: 28.05 kB / 0.8297 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.01807, allocations: 14.78 kB / 0.8297 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.01822, allocations: 122.8 kB / 0.8298 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.01999, allocations: 2.063 MB / 0.8318 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004658/0.02046, allocations: 372.9 kB / 0.8322 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.02056, allocations: 102.7 kB / 0.8322 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.02061, allocations: 33.52 kB / 0.8323 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/0.02063, allocations: 41.77 kB / 0.8323 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 1.573e-06/0.02064, allocations: 0 / 0.8323 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0005423/0.02118, allocations: 441 kB / 0.8327 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.02121, allocations: 59.41 kB / 0.8328 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.02195, allocations: 1.11 MB / 0.8339 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.02198, allocations: 41.7 kB / 0.8339 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.02225, allocations: 0.5427 MB / 0.8345 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.02236, allocations: 186.4 kB / 0.8346 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.02253, allocations: 232.1 kB / 0.8349 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.02266, allocations: 0.5315 MB / 0.8354 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.02282, allocations: 162.2 kB / 0.8355 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.02316, allocations: 0.6322 MB / 0.8361 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005428/0.0237, allocations: 0.8781 MB / 0.837 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.0237, allocations: 0 / 0.837 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.000766/0.02447, allocations: 0.8759 MB / 0.8379 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.02449, allocations: 10.03 kB / 0.8379 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.0245, allocations: 12.81 kB / 0.8379 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001622/0.02467, allocations: 59.59 kB / 0.8379 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005212/0.02519, allocations: 243.7 kB / 0.8382 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.02787, allocations: 9.058 MB / 0.847 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.02825, allocations: 123 kB / 0.8471 GB, free: 11.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.02829, allocations: 32 kB / 0.8472 GB, free: 11.31 MB / 0.7605 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.0001632/0.02845, allocations: 208.3 kB / 0.8474 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.02856, allocations: 131.2 kB / 0.8475 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000387/0.02895, allocations: 381.8 kB / 0.8478 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.02895, allocations: 7.938 kB / 0.8479 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.02896, allocations: 3.938 kB / 0.8479 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02896, allocations: 8.016 kB / 0.8479 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004218/0.02938, allocations: 479.1 kB / 0.8483 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.02939, allocations: 0 / 0.8483 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.02962, allocations: 95.89 kB / 0.8484 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.02973, allocations: 31.66 kB / 0.8484 GB, free: 9.934 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.02975, allocations: 15.98 kB / 0.8485 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006206/0.03037, allocations: 1.726 MB / 0.8501 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.03037, allocations: 0 / 0.8501 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000493/0.03087, allocations: 0.5855 MB / 0.8507 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.03108, allocations: 175 kB / 0.8509 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.03115, allocations: 20.11 kB / 0.8509 GB, free: 7.285 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.03138, allocations: 20 kB / 0.8509 GB, free: 7.266 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.644e-05/0.03143, allocations: 23.94 kB / 0.8509 GB, free: 7.242 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.03144, allocations: 12 kB / 0.851 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003992/0.03184, allocations: 0.6199 MB / 0.8516 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.03184, allocations: 0 / 0.8516 GB, free: 6.605 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0006157/0.03246, allocations: 367.6 kB / 0.8519 GB, free: 6.246 MB / 0.7605 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.0003552/0.03281, allocations: 278.8 kB / 0.8522 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0009191/0.03373, allocations: 0.7931 MB / 0.853 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.03373, allocations: 0 / 0.853 GB, free: 5.133 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.03393, allocations: 310.8 kB / 0.8533 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.03452, allocations: 221.7 kB / 0.8535 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.03652, allocations: 1.99 MB / 0.8554 GB, free: 2.57 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.0367, allocations: 231.2 kB / 0.8556 GB, free: 2.324 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002066/0.03691, allocations: 119.1 kB / 0.8557 GB, free: 2.203 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003824/0.03729, allocations: 302 kB / 0.856 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of SimCode: time 7.11e-07/0.03729, allocations: 0 / 0.856 GB, free: 1.906 MB / 0.7605 GB Notification: Performance of Templates: time 0.02048/0.05778, allocations: 16.8 MB / 0.8724 GB, free: 1.453 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.375573789700866]