Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.000882/0.000882, allocations: 92.22 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.0009578/0.0009578, allocations: 173 kB / 23.02 MB, free: 1.547 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.9142/0.9142, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.061/2.061, allocations: 429.5 MB / 0.6733 GB, free: 3.988 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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.132e-05/2.283e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002316/0.002339, allocations: 1.559 MB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.00349, allocations: 1.253 MB / 0.8809 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.003555, allocations: 3.938 kB / 0.8809 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.003748, allocations: 23.73 kB / 0.8809 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002083/0.003956, allocations: 43.72 kB / 0.881 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.004099, allocations: 55.84 kB / 0.881 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.004261, allocations: 151.5 kB / 0.8812 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.004386, allocations: 37.22 kB / 0.8812 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004489, allocations: 103.8 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.004592, allocations: 43.89 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.424e-05/0.004626, allocations: 8.938 kB / 0.8813 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.129e-05/0.004687, allocations: 20 kB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.381e-05/0.004751, allocations: 56.84 kB / 0.8814 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.004807, allocations: 47.83 kB / 0.8815 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.005015, allocations: 179.4 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.005018, allocations: 1.125 kB / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005019, allocations: 0 / 0.8816 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.005023, allocations: 0 / 0.8816 GB, free: 2.754 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005219/0.005545, allocations: 0.5124 MB / 0.8821 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.005579, allocations: 8.031 kB / 0.8821 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.53e-05/0.005644, allocations: 21.91 kB / 0.8822 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.005878, allocations: 209.7 kB / 0.8824 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.006004, allocations: 221.6 kB / 0.8826 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.006026, allocations: 8.375 kB / 0.8826 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.006234, allocations: 205.6 kB / 0.8828 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.006241, allocations: 192 / 0.8828 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.006259, allocations: 8.125 kB / 0.8828 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.18e-05/0.006291, allocations: 11.98 kB / 0.8828 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.541e-05/0.006326, allocations: 15.98 kB / 0.8828 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005519/0.006878, allocations: 420.8 kB / 0.8832 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.267e-05/0.006931, allocations: 32.34 kB / 0.8832 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.487e-05/0.006956, allocations: 19.67 kB / 0.8833 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.006977, allocations: 4 kB / 0.8833 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.006998, allocations: 34.77 kB / 0.8833 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.007, allocations: 0 / 0.8833 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001839/0.007184, allocations: 85.67 kB / 0.8834 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.007212, allocations: 55.41 kB / 0.8834 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.007359, allocations: 255.4 kB / 0.8837 GB, free: 436 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.007381, allocations: 33.7 kB / 0.8837 GB, free: 396 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.007459, allocations: 180 kB / 0.8839 GB, free: 212 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.007478, allocations: 27.75 kB / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.724e-05/0.007515, allocations: 39.36 kB / 0.884 GB, free: 136 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.007647, allocations: 0.5079 MB / 0.8844 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.456e-05/0.007671, allocations: 11.98 kB / 0.8845 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.087e-05/0.007742, allocations: 124.1 kB / 0.8846 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.007849, allocations: 144.1 kB / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.007852, allocations: 0 / 0.8847 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001467/0.007999, allocations: 133.5 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.008013, allocations: 12.06 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008018, allocations: 4 kB / 0.8849 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.008032, allocations: 4 kB / 0.8849 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.008109, allocations: 23.98 kB / 0.8849 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.008117, allocations: 7.938 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.008156, allocations: 11.94 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.008166, allocations: 4 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 8e-05/0.008246, allocations: 168.5 kB / 0.8851 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.008279, allocations: 15.91 kB / 0.8851 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.008425, allocations: 98.95 kB / 0.8852 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.008428, allocations: 8 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.008432, allocations: 0 / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.008435, allocations: 3.984 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.008587, allocations: 176.5 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008589, allocations: 0 / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.00862, allocations: 12 kB / 0.8854 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.008623, allocations: 4 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.008635, allocations: 7.984 kB / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008636, allocations: 0 / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008637, allocations: 0 / 0.8854 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003375/0.008974, allocations: 232.1 kB / 0.8856 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.008988, allocations: 15.91 kB / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.009002, allocations: 0 / 0.8856 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.586e-05/0.009097, allocations: 11.98 kB / 0.8856 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.009118, allocations: 11.98 kB / 0.8856 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.009133, allocations: 7.984 kB / 0.8856 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.561e-05/0.009219, allocations: 181.4 kB / 0.8858 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009219, allocations: 0 / 0.8858 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002032/0.009422, allocations: 31.95 kB / 0.8858 GB, free: 14 MB / 0.8542 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 (8): * Single equations (assignments): 8 * 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.0002247/0.009647, allocations: 133.2 kB / 0.886 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.009775, allocations: 55.53 kB / 0.886 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.009778, allocations: 4 kB / 0.886 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.009803, allocations: 24.38 kB / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.01004, allocations: 39.91 kB / 0.8861 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.01041, allocations: 262.8 kB / 0.8863 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.779e-05/0.01047, allocations: 75.33 kB / 0.8864 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.583e-05/0.01055, allocations: 48.81 kB / 0.8865 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.01058, allocations: 20.5 kB / 0.8865 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/0.01058, allocations: 0 / 0.8865 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of Templates: time 0.004445/0.01502, allocations: 2.706 MB / 0.8891 GB, free: 10.61 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.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.309204530902207]