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.001309/0.001309, allocations: 89.06 kB / 19.64 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.001405/0.001405, allocations: 169 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.9773/0.9773, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.13/2.13, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.883e-06/1.883e-06, allocations: 0.7656 kB / 0.8781 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.732e-05/2.92e-05, allocations: 9.266 kB / 0.8781 GB, free: 6.348 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002258/0.002287, allocations: 1.437 MB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.002416, allocations: 41.2 kB / 0.8796 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.002463, allocations: 0 / 0.8796 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.002633, allocations: 21.52 kB / 0.8796 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.002743, allocations: 14.12 kB / 0.8796 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.056e-06/0.002746, allocations: 0 / 0.8796 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.525e-05/0.002811, allocations: 16.36 kB / 0.8796 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.002848, allocations: 4 kB / 0.8796 GB, free: 4.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.002904, allocations: 16.41 kB / 0.8797 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.002949, allocations: 5.562 kB / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.002966, allocations: 0 / 0.8797 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.003015, allocations: 12 kB / 0.8797 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.88e-05/0.003054, allocations: 7.922 kB / 0.8797 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.003072, allocations: 4.625 kB / 0.8797 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003175, allocations: 23.91 kB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003177, allocations: 1.344 kB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.002e-06/0.003178, allocations: 4 kB / 0.8797 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003182, allocations: 3.938 kB / 0.8797 GB, free: 4.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002752/0.003457, allocations: 362.1 kB / 0.8801 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.003492, allocations: 8.031 kB / 0.8801 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.272e-05/0.003525, allocations: 8.891 kB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.003663, allocations: 124.5 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.003671, allocations: 2 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.003681, allocations: 384 / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.555e-05/0.003757, allocations: 30.27 kB / 0.8802 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.003766, allocations: 192 / 0.8802 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003774, allocations: 3.312 kB / 0.8802 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.003801, allocations: 384 / 0.8802 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.906e-05/0.00382, allocations: 7.938 kB / 0.8802 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000107/0.003927, allocations: 116.7 kB / 0.8803 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.58e-05/0.003963, allocations: 27 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.003979, allocations: 11.75 kB / 0.8804 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.003997, allocations: 0 / 0.8804 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.004015, allocations: 33.39 kB / 0.8804 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 6.11e-07/0.004016, allocations: 4 kB / 0.8804 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001114/0.004127, allocations: 41.69 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.004154, allocations: 55.34 kB / 0.8805 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.004239, allocations: 173.9 kB / 0.8807 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.004247, allocations: 25.7 kB / 0.8807 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.004283, allocations: 130.9 kB / 0.8808 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.004303, allocations: 3.953 kB / 0.8808 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.004326, allocations: 19.38 kB / 0.8808 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.004436, allocations: 0.4883 MB / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.017e-05/0.004446, allocations: 128 / 0.8813 GB, free: 2.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-06/0.004453, allocations: 8.016 kB / 0.8813 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.35e-05/0.004476, allocations: 11.69 kB / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004478, allocations: 0 / 0.8813 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.388e-05/0.004522, allocations: 37.64 kB / 0.8814 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.004534, allocations: 4 kB / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.004539, allocations: 0 / 0.8814 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.004556, allocations: 4 kB / 0.8814 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.401e-05/0.00461, allocations: 7.984 kB / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.004616, allocations: 0 / 0.8814 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.105e-05/0.004627, allocations: 8.031 kB / 0.8814 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.004632, allocations: 0 / 0.8814 GB, free: 2.82 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 7.267e-05/0.004704, allocations: 156.6 kB / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.53e-06/0.00471, allocations: 0 / 0.8816 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.004812, allocations: 53.09 kB / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.004813, allocations: 0 / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.004817, allocations: 0 / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.00482, allocations: 3.938 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.529e-05/0.004885, allocations: 116.6 kB / 0.8817 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.004887, allocations: 3.984 kB / 0.8817 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-06/0.004897, allocations: 8.031 kB / 0.8817 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004898, allocations: 3.938 kB / 0.8817 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.004903, allocations: 0 / 0.8817 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.004905, allocations: 0 / 0.8817 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.004906, allocations: 0 / 0.8817 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.508e-05/0.004961, allocations: 72.41 kB / 0.8818 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-06/0.00497, allocations: 7.984 kB / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.004979, allocations: 0 / 0.8818 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-06/0.004985, allocations: 4 kB / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.004998, allocations: 0 / 0.8818 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.005, allocations: 4.031 kB / 0.8818 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.005041, allocations: 131.2 kB / 0.8819 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005041, allocations: 0 / 0.8819 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001241/0.005165, allocations: 7.938 kB / 0.882 GB, free: 2.184 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.0001705/0.005335, allocations: 117.8 kB / 0.8821 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.005403, allocations: 19.62 kB / 0.8821 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.005404, allocations: 4.062 kB / 0.8821 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.005411, allocations: 7.688 kB / 0.8821 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.005518, allocations: 7.984 kB / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002346/0.005752, allocations: 106.5 kB / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.005782, allocations: 59.34 kB / 0.8823 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.932e-05/0.005802, allocations: 4 kB / 0.8823 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.00582, allocations: 12.48 kB / 0.8823 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/0.005821, allocations: 0 / 0.8823 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of Templates: time 0.002091/0.007912, allocations: 0.5102 MB / 0.8828 GB, free: 1.281 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.524991255253553]