Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009743/0.0009743, allocations: 81.86 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.001117/0.001117, allocations: 181 kB / 24.09 MB, free: 416 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 1.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.832/1.832, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.812 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.227e-05/2.402e-05, allocations: 2.312 kB / 0.812 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002022/0.002046, allocations: 1.416 MB / 0.8134 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.000132/0.002178, allocations: 43.83 kB / 0.8134 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.002219, allocations: 1.625 kB / 0.8134 GB, free: 20 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.002388, allocations: 11.86 kB / 0.8134 GB, free: 8 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.002507, allocations: 15.97 kB / 0.8134 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.367e-06/0.00251, allocations: 0 / 0.8134 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.00257, allocations: 21.09 kB / 0.8135 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.002606, allocations: 0 / 0.8135 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.05e-05/0.002656, allocations: 15.92 kB / 0.8135 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.002709, allocations: 4 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.002727, allocations: 4.688 kB / 0.8135 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 4.839e-05/0.002775, allocations: 9.344 kB / 0.8135 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.934e-05/0.002815, allocations: 11.92 kB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.901e-05/0.002834, allocations: 0 / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.002942, allocations: 31.84 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002944, allocations: 0.875 kB / 0.8135 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.82e-07/0.002944, allocations: 3.938 kB / 0.8135 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.002948, allocations: 1 kB / 0.8135 GB, free: 15.89 MB / 0.7761 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.0002486/0.003197, allocations: 364.5 kB / 0.8139 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.003234, allocations: 12.03 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.334e-05/0.003257, allocations: 2.594 kB / 0.8139 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.003382, allocations: 137.2 kB / 0.814 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.00339, allocations: 384 / 0.814 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.809e-06/0.003395, allocations: 384 / 0.814 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.976e-05/0.003454, allocations: 27.8 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.719e-06/0.003459, allocations: 4.188 kB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-06/0.003464, allocations: 384 / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.003484, allocations: 384 / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-06/0.003493, allocations: 9.625 kB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.9e-05/0.003582, allocations: 101.2 kB / 0.8142 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 2.928e-05/0.003611, allocations: 31.09 kB / 0.8142 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.176e-05/0.003623, allocations: 7.688 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.003641, allocations: 7.875 kB / 0.8142 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.003659, allocations: 33.39 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 7.02e-07/0.00366, allocations: 0 / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 8.533e-05/0.003745, allocations: 42.81 kB / 0.8143 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.003767, allocations: 51.41 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.003848, allocations: 173.9 kB / 0.8145 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.003856, allocations: 26.52 kB / 0.8145 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.003894, allocations: 130.9 kB / 0.8146 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.003913, allocations: 6.156 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.006e-05/0.003933, allocations: 19.31 kB / 0.8147 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.004039, allocations: 0.4961 MB / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-06/0.004046, allocations: 0 / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.99e-06/0.004051, allocations: 0 / 0.8152 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2e-05/0.004071, allocations: 12.22 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004073, allocations: 0.7188 kB / 0.8152 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.699e-05/0.00412, allocations: 38.14 kB / 0.8152 GB, free: 14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.004131, allocations: 9.594 kB / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.004135, allocations: 0 / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.004144, allocations: 0 / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.686e-05/0.004181, allocations: 0 / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.004184, allocations: 320 / 0.8152 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.004195, allocations: 8.578 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.004201, allocations: 7.922 kB / 0.8152 GB, free: 13.97 MB / 0.7761 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.523e-05/0.004257, allocations: 153.5 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-06/0.004263, allocations: 4.688 kB / 0.8154 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.028e-05/0.004333, allocations: 37.11 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.004335, allocations: 0.5938 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.004337, allocations: 1.375 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.004341, allocations: 3.984 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.494e-05/0.004406, allocations: 105.2 kB / 0.8155 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.004407, allocations: 4 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.787e-06/0.004416, allocations: 4.812 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.31e-07/0.004417, allocations: 0 / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-06/0.004421, allocations: 0.9375 kB / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004421, allocations: 0 / 0.8155 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.004424, allocations: 3.984 kB / 0.8155 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.684e-05/0.004481, allocations: 73.62 kB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.004492, allocations: 7.953 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.0045, allocations: 0.9688 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.859e-06/0.004505, allocations: 0 / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.004518, allocations: 3.938 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.004519, allocations: 2.312 kB / 0.8156 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002534/0.004773, allocations: 131.2 kB / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004773, allocations: 0 / 0.8157 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000119/0.004892, allocations: 8 kB / 0.8158 GB, free: 13.38 MB / 0.7761 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.0002055/0.005097, allocations: 135.5 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.036e-05/0.005168, allocations: 11.69 kB / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.00517, allocations: 0 / 0.8159 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.04e-05/0.005181, allocations: 11.69 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001078/0.005288, allocations: 3.938 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.005494, allocations: 111.4 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.377e-05/0.005527, allocations: 63.78 kB / 0.8161 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.315e-05/0.005541, allocations: 0 / 0.8161 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.005573, allocations: 70.77 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of SimCode: time 5.01e-07/0.005574, allocations: 0.5625 kB / 0.8161 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of Templates: time 0.001925/0.007498, allocations: 0.5665 MB / 0.8167 GB, free: 12.38 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.906143756117672]