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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 110.4 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 185.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 60.09 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9821/0.9836, allocations: 157.4 MB / 1.208 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003296/0.9869, allocations: 1.364 MB / 1.21 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.9872, allocations: 43.81 kB / 1.21 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.9872, allocations: 4 kB / 1.21 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.9875, allocations: 7.938 kB / 1.21 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001432/0.9877, allocations: 19.91 kB / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.298e-06/0.9877, allocations: 0 / 1.21 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.933e-05/0.9878, allocations: 27.86 kB / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.323e-05/0.9878, allocations: 0 / 1.21 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.156e-05/0.9879, allocations: 4 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.682e-05/0.9879, allocations: 15.92 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.988, allocations: 0 / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.988, allocations: 12 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.145e-05/0.9881, allocations: 7.938 kB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.9881, allocations: 11.92 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.9883, allocations: 27.91 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9883, allocations: 0 / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.625e-06/0.9883, allocations: 4 kB / 1.21 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.9883, allocations: 0 / 1.21 GB, free: 12.12 MB / 0.9356 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.0004023/0.9887, allocations: 339.2 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.9888, allocations: 8.031 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.9888, allocations: 4.938 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.989, allocations: 180.3 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.989, allocations: 4.359 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.9891, allocations: 384 / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.792e-05/0.9892, allocations: 42.19 kB / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.9892, allocations: 192 / 1.21 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.9892, allocations: 3.938 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.9892, allocations: 0 / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.081e-05/0.9893, allocations: 7.938 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.9894, allocations: 153.7 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/0.9895, allocations: 18.58 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.9895, allocations: 8.922 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.9896, allocations: 4 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.9896, allocations: 30.56 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.9896, allocations: 0 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001486/0.9897, allocations: 45.56 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.9898, allocations: 55.41 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.9899, allocations: 109.8 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.9899, allocations: 33.7 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.99, allocations: 84.27 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.99, allocations: 3.906 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.9901, allocations: 17.72 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.9902, allocations: 314.8 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.303e-05/0.9902, allocations: 3.938 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.738e-06/0.9902, allocations: 4 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.9903, allocations: 12.86 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.9903, allocations: 3.938 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.874e-05/0.9903, allocations: 45.75 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.9904, allocations: 4 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.9904, allocations: 3.938 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9904, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.495e-05/0.9904, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.9905, allocations: 4.312 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.9905, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.9905, allocations: 0 / 1.211 GB, free: 10.38 MB / 0.9356 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.736e-05/0.9906, allocations: 109.8 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.9906, allocations: 11.94 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.9907, allocations: 49.09 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.9907, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.9907, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.9907, allocations: 0 / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.9908, allocations: 157.6 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.9909, allocations: 0 / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.9909, allocations: 7.984 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.9909, allocations: 0 / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.9909, allocations: 3.938 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9909, allocations: 4.031 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.9909, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.037e-05/0.991, allocations: 57.14 kB / 1.212 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.9911, allocations: 85 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.9911, allocations: 7.938 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.229e-05/0.9911, allocations: 7.938 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.586e-05/0.9911, allocations: 0 / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.9911, allocations: 4.031 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.234e-05/0.9912, allocations: 95.25 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9912, allocations: 0 / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001897/0.9914, allocations: 4 kB / 1.212 GB, free: 9.68 MB / 0.9356 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.0002293/0.9916, allocations: 120.7 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.9917, allocations: 15.98 kB / 1.212 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.9917, allocations: 4 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.356e-06/0.9918, allocations: 0 / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.9919, allocations: 4 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.9922, allocations: 140.9 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.9925, allocations: 0.6768 MB / 1.213 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.9925, allocations: 11.44 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.9925, allocations: 4.125 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of Templates: time 0.002564/0.9951, allocations: 0.7729 MB / 1.214 GB, free: 7.879 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches