Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.000919/0.000919, allocations: 80.88 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.0009813/0.0009813, 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.125/1.125, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.336/2.336, allocations: 438.8 MB / 0.6826 GB, free: 13.64 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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 0.8385 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.512e-05, allocations: 6.25 kB / 0.8385 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001764/0.001779, allocations: 1.43 MB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001141/0.001893, allocations: 43.75 kB / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.00194, allocations: 0 / 0.84 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.002084, allocations: 15.86 kB / 0.84 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.002176, allocations: 23.84 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.016e-06/0.002179, allocations: 4 kB / 0.84 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.002237, allocations: 15.94 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.195e-05/0.002269, allocations: 0 / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 4.815e-05/0.002317, allocations: 11.98 kB / 0.8401 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.395e-05/0.002361, allocations: 7.938 kB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.002376, allocations: 0 / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.791e-05/0.002414, allocations: 11.98 kB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.201e-05/0.002446, allocations: 4 kB / 0.8401 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.51e-05/0.002461, allocations: 11.92 kB / 0.8401 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.456e-05/0.002546, allocations: 23.92 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.002547, allocations: 0 / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002548, allocations: 4 kB / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.002551, allocations: 0 / 0.8401 GB, free: 12.66 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002115/0.002763, allocations: 236.8 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.002792, allocations: 8.625 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.002813, allocations: 4.938 kB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.002924, allocations: 121.7 kB / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-06/0.002931, allocations: 384 / 0.8405 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.197e-06/0.00294, allocations: 4.312 kB / 0.8405 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.334e-05/0.003004, allocations: 45.06 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.00301, allocations: 192 / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-06/0.003015, allocations: 4.375 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.003037, allocations: 4.375 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.005e-05/0.003047, allocations: 7.922 kB / 0.8405 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.424e-05/0.003111, allocations: 62.7 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.105e-05/0.003142, allocations: 14.58 kB / 0.8406 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.003155, allocations: 8.891 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.003167, allocations: 4 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.003183, allocations: 30.56 kB / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.003183, allocations: 0 / 0.8406 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.528e-05/0.003258, allocations: 33.81 kB / 0.8407 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.003285, allocations: 55.41 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.961e-05/0.003345, allocations: 114.7 kB / 0.8408 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.003354, allocations: 29.7 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.274e-05/0.003377, allocations: 84.14 kB / 0.8409 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.003397, allocations: 3.953 kB / 0.841 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.003417, allocations: 13.7 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.255e-05/0.0035, allocations: 322.7 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-06/0.003505, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-06/0.003509, allocations: 0 / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.937e-05/0.003528, allocations: 19.73 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.00353, allocations: 0 / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.187e-05/0.003562, allocations: 29.7 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.003574, allocations: 4 kB / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.003577, allocations: 0 / 0.8413 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.003588, allocations: 4 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.608e-05/0.003624, allocations: 0 / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.003628, allocations: 3.938 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-06/0.003637, allocations: 3.984 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.003641, allocations: 0 / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.003688, allocations: 120.6 kB / 0.8415 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-06/0.003691, allocations: 3.938 kB / 0.8415 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.003742, allocations: 41.16 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.003743, allocations: 0 / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.003745, allocations: 4 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.003749, allocations: 4 kB / 0.8415 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.504e-05/0.003794, allocations: 69.83 kB / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.003794, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-06/0.003801, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.42e-07/0.003801, allocations: 0 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-06/0.003804, allocations: 32 / 0.8416 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.003806, allocations: 11.98 kB / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.003807, allocations: 0 / 0.8416 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.57e-05/0.003843, allocations: 59.84 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.003849, allocations: 4 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-06/0.003857, allocations: 3.984 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-06/0.003862, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.00387, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.003871, allocations: 0 / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.288e-05/0.003884, allocations: 12.86 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003884, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 9.59e-05/0.00398, allocations: 15.98 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001355/0.004115, allocations: 101.8 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.4e-05/0.004159, allocations: 12.8 kB / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.004162, allocations: 0 / 0.8418 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.349e-06/0.004166, allocations: 4.859 kB / 0.8418 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.136e-05/0.004217, allocations: 17.72 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000189/0.004406, allocations: 107.5 kB / 0.8419 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.462e-05/0.004431, allocations: 59.34 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.421e-05/0.004445, allocations: 7.953 kB / 0.842 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.004468, allocations: 47.38 kB / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.004469, allocations: 0 / 0.842 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.001775/0.006244, allocations: 0.5643 MB / 0.8426 GB, free: 9.879 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.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.287392680998892]