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.001361/0.001361, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 193.5 kB / 16.53 MB, free: 6.664 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.343/1.343, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 64.86 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3015, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003563/0.3051, allocations: 1.366 MB / 1.07 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002087/0.3054, allocations: 44.34 kB / 1.07 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.3054, allocations: 4 kB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.3056, allocations: 7.938 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.3058, allocations: 19.91 kB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.069e-06/0.3058, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.3059, allocations: 11.94 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.863e-05/0.306, allocations: 4 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.306, allocations: 11.92 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.3061, allocations: 8 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.3061, allocations: 0 / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.04e-05/0.3062, allocations: 15.94 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.499e-05/0.3063, allocations: 11.94 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.3063, allocations: 11.92 kB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3065, allocations: 23.91 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3065, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3065, allocations: 0 / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3065, allocations: 0 / 1.07 GB, free: 8.863 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.000411/0.3069, allocations: 335.7 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.307, allocations: 12.03 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.307, allocations: 0.9375 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.3072, allocations: 176.3 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3072, allocations: 12.36 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3072, allocations: 8.359 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.218e-05/0.3073, allocations: 26.27 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.3073, allocations: 192 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3073, allocations: 3.938 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.3074, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.399e-05/0.3074, allocations: 3.938 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.3076, allocations: 153.7 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.259e-05/0.3076, allocations: 26.61 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.3076, allocations: 8.797 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3077, allocations: 3.984 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3077, allocations: 34.62 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3077, allocations: 0 / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001422/0.3078, allocations: 49.56 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.3079, allocations: 55.34 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.308, allocations: 122 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.308, allocations: 25.7 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.3081, allocations: 80.14 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.3081, allocations: 15.89 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-05/0.3082, allocations: 9.719 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3083, allocations: 310.8 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.322e-05/0.3083, allocations: 4 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-06/0.3083, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.581e-05/0.3083, allocations: 16.92 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-06/0.3083, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.295e-05/0.3084, allocations: 41.62 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3084, allocations: 4 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3084, allocations: 3.938 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3085, allocations: 4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.3085, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.3085, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.3085, allocations: 0 / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3086, allocations: 4.031 kB / 1.071 GB, free: 7.113 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 9.035e-05/0.3087, allocations: 117.8 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.3087, allocations: 3.906 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.255e-05/0.3088, allocations: 49.11 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3088, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3088, allocations: 0 / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3088, allocations: 3.984 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.738e-05/0.3089, allocations: 157.7 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3089, allocations: 4.031 kB / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.154e-05/0.3089, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.3089, allocations: 0 / 1.071 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.3089, allocations: 3.938 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.309, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.309, allocations: 7.938 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.115e-05/0.309, allocations: 61.12 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.3091, allocations: 81.02 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.3091, allocations: 11.97 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.3091, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.3091, allocations: 3.938 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3091, allocations: 7.938 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.848e-05/0.3092, allocations: 91.27 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3092, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002031/0.3094, allocations: 4 kB / 1.072 GB, free: 6.41 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.0002053/0.3096, allocations: 122.6 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.842e-05/0.3097, allocations: 8 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3097, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.738e-06/0.3097, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.3099, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.3101, allocations: 121.5 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.3105, allocations: 0.6806 MB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.111e-05/0.3106, allocations: 4 kB / 1.073 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.3106, allocations: 15.42 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3106, allocations: 0 / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of Templates: time 0.002525/0.3132, allocations: 0.4919 MB / 1.073 GB, free: 4.914 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