Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.736/2.736, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 71.77 kB / 1.109 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3326, allocations: 168.7 MB / 1.274 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002993/0.3356, allocations: 1.373 MB / 1.275 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001623/0.3358, allocations: 44.33 kB / 1.275 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.3358, allocations: 3.938 kB / 1.275 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.336, allocations: 15.94 kB / 1.275 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.3361, allocations: 15.92 kB / 1.275 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.958e-06/0.3361, allocations: 0 / 1.275 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.057e-05/0.3362, allocations: 15.94 kB / 1.275 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.3363, allocations: 3.984 kB / 1.275 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.745e-05/0.3363, allocations: 15.92 kB / 1.275 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.021e-05/0.3363, allocations: 4 kB / 1.275 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.3364, allocations: 0 / 1.275 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.3364, allocations: 12 kB / 1.276 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.447e-05/0.3365, allocations: 7.922 kB / 1.276 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.3365, allocations: 11.94 kB / 1.276 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.3366, allocations: 39.77 kB / 1.276 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3366, allocations: 0 / 1.276 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.246e-06/0.3366, allocations: 4 kB / 1.276 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.3366, allocations: 0 / 1.276 GB, free: 9.711 MB / 0.9825 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.0003994/0.337, allocations: 339.3 kB / 1.276 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.337, allocations: 8.031 kB / 1.276 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.3371, allocations: 0.9375 kB / 1.276 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.3373, allocations: 172.3 kB / 1.276 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.3373, allocations: 384 / 1.276 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.3373, allocations: 12.36 kB / 1.276 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.037e-05/0.3374, allocations: 30.27 kB / 1.276 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3374, allocations: 4.188 kB / 1.276 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3374, allocations: 3.938 kB / 1.276 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3374, allocations: 0 / 1.276 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.3375, allocations: 7.922 kB / 1.276 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.3377, allocations: 157.7 kB / 1.276 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.416e-05/0.3377, allocations: 22.61 kB / 1.276 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.861e-05/0.3377, allocations: 4.859 kB / 1.276 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3378, allocations: 4.062 kB / 1.276 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3378, allocations: 34.56 kB / 1.276 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3378, allocations: 3.938 kB / 1.276 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.3379, allocations: 41.58 kB / 1.276 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.338, allocations: 55.39 kB / 1.276 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3381, allocations: 118 kB / 1.277 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.3381, allocations: 29.64 kB / 1.277 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.3382, allocations: 88.14 kB / 1.277 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.3382, allocations: 3.953 kB / 1.277 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.3382, allocations: 9.719 kB / 1.277 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3384, allocations: 318.8 kB / 1.277 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.097e-05/0.3384, allocations: 0 / 1.277 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.3384, allocations: 3.984 kB / 1.277 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.3384, allocations: 12.92 kB / 1.277 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3384, allocations: 0 / 1.277 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.578e-05/0.3385, allocations: 41.64 kB / 1.277 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3385, allocations: 4 kB / 1.277 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3385, allocations: 7.938 kB / 1.277 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3385, allocations: 0 / 1.277 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.18e-05/0.3386, allocations: 3.984 kB / 1.277 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.3386, allocations: 0 / 1.277 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.222e-05/0.3386, allocations: 0 / 1.277 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3386, allocations: 4 kB / 1.277 GB, free: 7.969 MB / 0.9825 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 8.45e-05/0.3387, allocations: 109.9 kB / 1.277 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.505e-05/0.3387, allocations: 7.953 kB / 1.277 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.3388, allocations: 49.09 kB / 1.277 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3388, allocations: 0 / 1.277 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3388, allocations: 0 / 1.277 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3388, allocations: 8 kB / 1.277 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3389, allocations: 153.7 kB / 1.277 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3389, allocations: 0 / 1.277 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-05/0.339, allocations: 4.031 kB / 1.277 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.339, allocations: 0 / 1.277 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.339, allocations: 3.938 kB / 1.277 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.339, allocations: 4 kB / 1.277 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.339, allocations: 3.984 kB / 1.277 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.887e-05/0.3391, allocations: 57.14 kB / 1.277 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.3391, allocations: 81.06 kB / 1.278 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.3391, allocations: 7.875 kB / 1.278 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.177e-05/0.3391, allocations: 8.016 kB / 1.278 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.3391, allocations: 0 / 1.278 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.3391, allocations: 4 kB / 1.278 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.3392, allocations: 99.52 kB / 1.278 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3392, allocations: 3.938 kB / 1.278 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001952/0.3394, allocations: 4 kB / 1.278 GB, free: 7.27 MB / 0.9825 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.0002315/0.3396, allocations: 118 kB / 1.278 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.723e-05/0.3397, allocations: 4 kB / 1.278 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3397, allocations: 0 / 1.278 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-05/0.3397, allocations: 4 kB / 1.278 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3399, allocations: 6.188 kB / 1.278 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.3402, allocations: 121.4 kB / 1.278 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3405, allocations: 0.6847 MB / 1.279 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.696e-05/0.3406, allocations: 3.984 kB / 1.279 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.3406, allocations: 15.38 kB / 1.279 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3406, allocations: 0 / 1.279 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of Templates: time 0.002857/0.3434, allocations: 0.4936 MB / 1.279 GB, free: 5.77 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.494079736061394]