Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.1.0-maint.11.x/package.mo", uses=false) 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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004878/0.004878, allocations: 101.5 kB / 15.73 MB, free: 5.973 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.001205/0.001205, allocations: 188.6 kB / 16.67 MB, free: 5.895 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.605/2.605, allocations: 469.8 MB / 0.7425 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 67.88 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8861/0.8877, allocations: 159.1 MB / 1.221 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003944/0.8916, allocations: 1.487 MB / 1.222 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.8933, allocations: 1.103 MB / 1.223 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.721e-05/0.8933, allocations: 4 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.8935, allocations: 15.86 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.8937, allocations: 47.77 kB / 1.223 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.894, allocations: 62.77 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.8942, allocations: 143.5 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.8944, allocations: 61.03 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.8945, allocations: 79.75 kB / 1.224 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.8947, allocations: 63.64 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.8948, allocations: 8 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.8949, allocations: 31.94 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.895, allocations: 47.88 kB / 1.224 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.8951, allocations: 75.58 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.8954, allocations: 199.7 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8954, allocations: 0 / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8954, allocations: 4 kB / 1.224 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.8955, allocations: 0 / 1.224 GB, free: 14.69 MB / 0.9512 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.0008191/0.8963, allocations: 498.5 kB / 1.224 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.8963, allocations: 8.625 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.86e-05/0.8964, allocations: 20.8 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.8967, allocations: 260 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.8969, allocations: 119.4 kB / 1.225 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.8969, allocations: 8.375 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.8973, allocations: 157.7 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8973, allocations: 4 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.8973, allocations: 4 kB / 1.225 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.8973, allocations: 11.94 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.8974, allocations: 43.91 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.8985, allocations: 456.5 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.828e-05/0.8986, allocations: 38.5 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.8986, allocations: 24.84 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.8986, allocations: 4 kB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.8987, allocations: 34.56 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.8987, allocations: 0 / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0003172/0.899, allocations: 109.5 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.899, allocations: 51.41 kB / 1.226 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.8993, allocations: 223.7 kB / 1.226 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.8993, allocations: 25.7 kB / 1.226 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.113e-05/0.8994, allocations: 128.3 kB / 1.226 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.8994, allocations: 31.73 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.8995, allocations: 33.7 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.8996, allocations: 326.8 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.164e-05/0.8996, allocations: 19.98 kB / 1.226 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.8997, allocations: 106.3 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.8999, allocations: 138.1 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.8999, allocations: 8 kB / 1.227 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002589/0.9002, allocations: 153.3 kB / 1.227 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.9002, allocations: 4 kB / 1.227 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.9002, allocations: 7.938 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/0.9002, allocations: 4 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.9003, allocations: 27.92 kB / 1.227 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9003, allocations: 7.938 kB / 1.227 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.729e-05/0.9004, allocations: 11.89 kB / 1.227 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.9004, allocations: 8.688 kB / 1.227 GB, free: 11.3 MB / 0.9512 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 0.0001273/0.9006, allocations: 149.8 kB / 1.227 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.9006, allocations: 15.84 kB / 1.227 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.9008, allocations: 119.2 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9008, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.9008, allocations: 3.938 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.9009, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.9011, allocations: 233.5 kB / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.9011, allocations: 0 / 1.227 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.9012, allocations: 15.98 kB / 1.227 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.9012, allocations: 4 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.9012, allocations: 4 kB / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.9012, allocations: 0 / 1.227 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9012, allocations: 7.922 kB / 1.227 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002243/0.9014, allocations: 191.3 kB / 1.228 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.023e-05/0.9014, allocations: 89 kB / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.9015, allocations: 0 / 1.228 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.9017, allocations: 27.91 kB / 1.228 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.9017, allocations: 11.94 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.9018, allocations: 15.97 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001521/0.9019, allocations: 161.5 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.9019, allocations: 0 / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003225/0.9022, allocations: 27.95 kB / 1.228 GB, free: 10.14 MB / 0.9512 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.0002734/0.9025, allocations: 130 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.9027, allocations: 71.83 kB / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.9027, allocations: 0 / 1.228 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.9027, allocations: 27.92 kB / 1.228 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.903, allocations: 26.47 kB / 1.228 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.9036, allocations: 290.7 kB / 1.228 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.9039, allocations: 0.7352 MB / 1.229 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001271/0.904, allocations: 60.66 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.9041, allocations: 15.44 kB / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of SimCode: time 3.71e-07/0.9041, allocations: 0 / 1.229 GB, free: 8.75 MB / 0.9512 GB Notification: Performance of Templates: time 0.005561/0.9096, allocations: 2.397 MB / 1.232 GB, free: 6.379 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches