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.0009653/0.0009653, allocations: 89.06 kB / 19.65 MB, free: 276 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.0009618/0.0009618, allocations: 177.3 kB / 23.03 MB, free: 1.539 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 0.8984/0.8984, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.009/2.009, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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.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.263e-06/1.263e-06, allocations: 0 / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.692e-05, allocations: 11.16 kB / 0.8781 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001743/0.00176, allocations: 1.436 MB / 0.8795 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001135/0.001873, allocations: 36.39 kB / 0.8796 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.001916, allocations: 0 / 0.8796 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.002067, allocations: 21.86 kB / 0.8796 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.002175, allocations: 12.7 kB / 0.8796 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.176e-06/0.002178, allocations: 0 / 0.8796 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.00225, allocations: 20.22 kB / 0.8796 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.002286, allocations: 4 kB / 0.8796 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.397e-05/0.00233, allocations: 11.98 kB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.002375, allocations: 12.8 kB / 0.8797 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.002391, allocations: 0 / 0.8797 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.318e-05/0.002434, allocations: 12.5 kB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.515e-05/0.002469, allocations: 1.844 kB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.727e-05/0.002486, allocations: 4 kB / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.002579, allocations: 23.86 kB / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.002581, allocations: 0 / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.61e-07/0.002582, allocations: 4 kB / 0.8797 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.002586, allocations: 1.281 kB / 0.8797 GB, free: 4.781 MB / 0.8386 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.0002428/0.002828, allocations: 364.5 kB / 0.8801 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.002863, allocations: 12.02 kB / 0.8801 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.292e-05/0.002896, allocations: 8.891 kB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.003016, allocations: 117.6 kB / 0.8802 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.003024, allocations: 4.359 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.003031, allocations: 1.031 kB / 0.8802 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.186e-05/0.003103, allocations: 38.25 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-06/0.003108, allocations: 0.9062 kB / 0.8802 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.003115, allocations: 8.031 kB / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.003139, allocations: 384 / 0.8802 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.003154, allocations: 7.938 kB / 0.8802 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000103/0.003257, allocations: 112.7 kB / 0.8804 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.626e-05/0.003293, allocations: 31 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.542e-05/0.003308, allocations: 11.75 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.003322, allocations: 0 / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.00334, allocations: 33.39 kB / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.003341, allocations: 0 / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 9.682e-05/0.003438, allocations: 35.27 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.003464, allocations: 59.33 kB / 0.8805 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/0.003544, allocations: 173.9 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.003557, allocations: 29.7 kB / 0.8807 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.003593, allocations: 128.5 kB / 0.8808 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.003612, allocations: 3.953 kB / 0.8808 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.003636, allocations: 23.38 kB / 0.8809 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.003739, allocations: 492.1 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.794e-06/0.003747, allocations: 2.656 kB / 0.8813 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.003753, allocations: 8 kB / 0.8813 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.717e-05/0.00377, allocations: 7.688 kB / 0.8813 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.003772, allocations: 0 / 0.8813 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.774e-05/0.003809, allocations: 41.64 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.00382, allocations: 6.5 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.003824, allocations: 1.875 kB / 0.8814 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.003834, allocations: 4 kB / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.003875, allocations: 0 / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.00388, allocations: 0 / 0.8814 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.041e-05/0.00389, allocations: 7.938 kB / 0.8814 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.003894, allocations: 0.7188 kB / 0.8814 GB, free: 2.852 MB / 0.8386 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 5.696e-05/0.003951, allocations: 162.2 kB / 0.8816 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.003955, allocations: 0 / 0.8816 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.004022, allocations: 45.12 kB / 0.8816 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.004023, allocations: 0 / 0.8816 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.004026, allocations: 0.5938 kB / 0.8816 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.004029, allocations: 3.938 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.551e-05/0.004085, allocations: 113.6 kB / 0.8817 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.004086, allocations: 3.938 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.889e-06/0.004095, allocations: 4.25 kB / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.0041, allocations: 4 kB / 0.8817 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.004106, allocations: 3.938 kB / 0.8817 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.004108, allocations: 3.984 kB / 0.8817 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004109, allocations: 0 / 0.8817 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.319e-05/0.004162, allocations: 76.41 kB / 0.8818 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.004168, allocations: 4 kB / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.004177, allocations: 0 / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.318e-06/0.004181, allocations: 0 / 0.8818 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.004196, allocations: 3.984 kB / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.004198, allocations: 0 / 0.8818 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.973e-05/0.004237, allocations: 135.5 kB / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004237, allocations: 0 / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001294/0.004367, allocations: 7.938 kB / 0.882 GB, free: 2.219 MB / 0.8386 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.0001778/0.004545, allocations: 126.5 kB / 0.8821 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.118e-05/0.004606, allocations: 15.62 kB / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.004608, allocations: 0 / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.596e-06/0.004616, allocations: 11.75 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.004753, allocations: 8 kB / 0.8821 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.004977, allocations: 110.4 kB / 0.8822 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.445e-05/0.005012, allocations: 59.34 kB / 0.8823 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.52e-05/0.005037, allocations: 4 kB / 0.8823 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.005055, allocations: 8.5 kB / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of SimCode: time 3.7e-07/0.005055, allocations: 0 / 0.8823 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of Templates: time 0.002217/0.007273, allocations: 0.5347 MB / 0.8828 GB, free: 1.285 MB / 0.8386 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.078853591810912]