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.00146/0.00146, allocations: 104.2 kB / 16.27 MB, free: 6.418 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.00162/0.00162, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 469.4 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.75 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3044, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002856/0.3073, allocations: 1.359 MB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.3075, allocations: 44.34 kB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.3075, allocations: 0 / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.3077, allocations: 15.86 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.3079, allocations: 11.94 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.3079, allocations: 3.938 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.816e-05/0.308, allocations: 15.98 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.698e-05/0.308, allocations: 7.984 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.3081, allocations: 3.938 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.3081, allocations: 15.92 kB / 1.066 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3081, allocations: 4 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.377e-05/0.3082, allocations: 8 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.871e-05/0.3082, allocations: 7.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.3083, allocations: 11.94 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3084, allocations: 31.89 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3084, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3084, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3084, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8419 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.0003249/0.3087, allocations: 339.7 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3088, allocations: 8.031 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.3088, allocations: 4.938 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.309, allocations: 176.3 kB / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.309, allocations: 384 / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.309, allocations: 384 / 1.066 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.395e-05/0.3091, allocations: 34.25 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3091, allocations: 192 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3091, allocations: 3.938 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.3092, allocations: 3.938 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.095e-05/0.3092, allocations: 8 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.3093, allocations: 157.7 kB / 1.066 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.3094, allocations: 18.58 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.3094, allocations: 8.859 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3094, allocations: 3.938 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.3095, allocations: 30.56 kB / 1.066 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.3095, allocations: 4 kB / 1.066 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0001276/0.3096, allocations: 45.62 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.3097, allocations: 51.41 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.3098, allocations: 121.8 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.3098, allocations: 25.7 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.3098, allocations: 84.14 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3098, allocations: 3.906 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.3099, allocations: 13.72 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/0.31, allocations: 323 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.31, allocations: 0 / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-06/0.31, allocations: 4 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.3101, allocations: 24.73 kB / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3101, allocations: 0 / 1.067 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.106e-05/0.3101, allocations: 37.69 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3101, allocations: 4 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3102, allocations: 7.922 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.3102, allocations: 4.094 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.3102, allocations: 4 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3102, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.473e-05/0.3103, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.3103, allocations: 0 / 1.067 GB, free: 11.7 MB / 0.8419 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.954e-05/0.3104, allocations: 109.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/0.3104, allocations: 3.906 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.3105, allocations: 53.09 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3105, allocations: 4.031 kB / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3105, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3105, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.396e-05/0.3106, allocations: 157.7 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3106, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.61e-05/0.3106, allocations: 4 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3106, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.3106, allocations: 3.938 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3106, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3107, allocations: 0 / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.221e-05/0.3107, allocations: 73 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.3108, allocations: 81.11 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.3108, allocations: 3.938 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-06/0.3108, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.14e-05/0.3108, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3108, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.3109, allocations: 95.27 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3109, allocations: 4 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001887/0.3111, allocations: 4.031 kB / 1.068 GB, free: 11.02 MB / 0.8419 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.0002023/0.3113, allocations: 119.7 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.39e-05/0.3114, allocations: 7.984 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3114, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.008e-05/0.3114, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.3116, allocations: 8.125 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.3119, allocations: 147.1 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3121, allocations: 0.6768 MB / 1.069 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.3121, allocations: 11.44 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3121, allocations: 0 / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of Templates: time 0.002256/0.3144, allocations: 0.7737 MB / 1.069 GB, free: 9.219 MB / 0.8419 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