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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001115/0.001115, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001201/0.001201, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.345/1.345, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 472.7 MB / 0.7449 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.75 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.381, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002946/0.384, allocations: 1.426 MB / 1.069 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001522/0.3841, allocations: 51.81 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.3842, allocations: 3.938 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.3844, allocations: 7.984 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3845, allocations: 11.94 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.018e-06/0.3845, allocations: 0 / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.82e-05/0.3846, allocations: 19.92 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.181e-05/0.3846, allocations: 4 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.3847, allocations: 7.922 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.252e-05/0.3847, allocations: 11.94 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3847, allocations: 4 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.904e-05/0.3848, allocations: 7.984 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.3848, allocations: 8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.3849, allocations: 7.938 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.385, allocations: 35.89 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.385, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.385, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.385, allocations: 0 / 1.069 GB, free: 9.105 MB / 0.8262 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.0003379/0.3853, allocations: 331.7 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3854, allocations: 8.031 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.3854, allocations: 4.938 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3856, allocations: 176.3 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3856, allocations: 8.359 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.3857, allocations: 384 / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.051e-05/0.3857, allocations: 34.2 kB / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3858, allocations: 192 / 1.07 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3858, allocations: 7.875 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/0.3858, allocations: 3.984 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.3858, allocations: 4 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.386, allocations: 157.7 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.386, allocations: 22.58 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.386, allocations: 8.797 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3861, allocations: 0 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.3861, allocations: 30.56 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.3861, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/0.3862, allocations: 45.69 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3863, allocations: 51.41 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.3864, allocations: 126 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.3864, allocations: 25.7 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.3865, allocations: 80.14 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.3865, allocations: 7.906 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.3865, allocations: 13.72 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3866, allocations: 318.8 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.407e-05/0.3867, allocations: 7.938 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.3867, allocations: 0 / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.3867, allocations: 16.92 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.3867, allocations: 0 / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.789e-05/0.3868, allocations: 33.7 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3868, allocations: 4 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3868, allocations: 11.92 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3868, allocations: 0 / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.937e-05/0.3869, allocations: 4 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.3869, allocations: 0 / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.332e-05/0.3869, allocations: 0 / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3869, allocations: 4.031 kB / 1.071 GB, free: 7.363 MB / 0.8262 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 6.767e-05/0.387, allocations: 119.3 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.387, allocations: 3.906 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.101e-05/0.3871, allocations: 49.16 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.3871, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3871, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.3871, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.981e-05/0.3872, allocations: 153.7 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3872, allocations: 3.938 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.637e-05/0.3873, allocations: 12.02 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.3873, allocations: 0 / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3873, allocations: 3.938 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3873, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3873, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.308e-05/0.3874, allocations: 61.08 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.3874, allocations: 89 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.3874, allocations: 3.938 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.3874, allocations: 4.031 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.035e-05/0.3875, allocations: 0 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-06/0.3875, allocations: 0 / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.315e-05/0.3875, allocations: 99.56 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3875, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001823/0.3877, allocations: 0 / 1.071 GB, free: 6.668 MB / 0.8262 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.0002111/0.3879, allocations: 121.5 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.551e-05/0.388, allocations: 4 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.388, allocations: 0 / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.244e-05/0.3881, allocations: 11.92 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.3882, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.3885, allocations: 129.5 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.3887, allocations: 0.6807 MB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.288e-05/0.3888, allocations: 4 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.3888, allocations: 7.438 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3888, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of Templates: time 0.002545/0.3914, allocations: 492.6 kB / 1.073 GB, free: 5.176 MB / 0.8262 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/jenkins/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