Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_10_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_10_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.001413/0.001413, allocations: 108.7 kB / 16.41 MB, free: 6.465 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.001408/0.001409, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.36/2.36, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 63.91 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7401, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002556/0.7427, allocations: 1.367 MB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001663/0.7429, allocations: 46.33 kB / 1.169 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.021e-05/0.7429, allocations: 3.938 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.7431, allocations: 11.94 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.7432, allocations: 15.91 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.027e-06/0.7432, allocations: 0 / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.604e-05/0.7433, allocations: 19.88 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.059e-05/0.7433, allocations: 7.984 kB / 1.169 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.7434, allocations: 8 kB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.7434, allocations: 3.938 kB / 1.169 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.7435, allocations: 4 kB / 1.169 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 4.781e-05/0.7435, allocations: 16 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.7435, allocations: 3.984 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.7436, allocations: 15.92 kB / 1.169 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.7437, allocations: 24.89 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7437, allocations: 0 / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7437, allocations: 4 kB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.7437, allocations: 0 / 1.169 GB, free: 2.289 MB / 0.8887 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.000369/0.7441, allocations: 342.8 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.7441, allocations: 12.92 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.7442, allocations: 0.9375 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.7443, allocations: 176.3 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.7444, allocations: 384 / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.7444, allocations: 8.312 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.674e-05/0.7445, allocations: 38.2 kB / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7445, allocations: 192 / 1.169 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.7445, allocations: 3.938 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.7445, allocations: 4 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.021e-05/0.7445, allocations: 3.984 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.7447, allocations: 153.7 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.7448, allocations: 18.61 kB / 1.17 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.7448, allocations: 8.859 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.7448, allocations: 7.938 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.7449, allocations: 38.62 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.7449, allocations: 0 / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001388/0.745, allocations: 37.64 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.745, allocations: 55.39 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7452, allocations: 113.8 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.7452, allocations: 25.7 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.7452, allocations: 88.27 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.7453, allocations: 7.953 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.7453, allocations: 9.719 kB / 1.17 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.7454, allocations: 314.8 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.363e-05/0.7455, allocations: 7.938 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-06/0.7455, allocations: 7.922 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.627e-05/0.7455, allocations: 8.859 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.7455, allocations: 0 / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.915e-05/0.7456, allocations: 41.77 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.7456, allocations: 4 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7456, allocations: 3.938 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.7456, allocations: 4 kB / 1.17 GB, free: 0.5508 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.7457, allocations: 3.984 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.7457, allocations: 0 / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.122e-05/0.7457, allocations: 0 / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.7457, allocations: 0 / 1.17 GB, free: 0.5469 MB / 0.8887 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 8.268e-05/0.7458, allocations: 113.8 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.7458, allocations: 7.953 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.7459, allocations: 53.09 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.7459, allocations: 0 / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.7459, allocations: 0 / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.7459, allocations: 3.938 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.7461, allocations: 157.7 kB / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7461, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.092e-05/0.7461, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.7461, allocations: 0 / 1.171 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.7461, allocations: 3.938 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7461, allocations: 8.016 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.7461, allocations: 8.297 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/0.7462, allocations: 61.08 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.338e-05/0.7463, allocations: 77.11 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.7463, allocations: 3.938 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.054e-05/0.7463, allocations: 3.984 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.7463, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.7463, allocations: 8.031 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.176e-05/0.7464, allocations: 95.27 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7464, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001759/0.7466, allocations: 7.953 kB / 1.171 GB, free: 15.84 MB / 0.9044 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.0002377/0.7468, allocations: 122.8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.73e-05/0.7469, allocations: 8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7469, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.7469, allocations: 7.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.7471, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.7473, allocations: 105.4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.7476, allocations: 0.6807 MB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.921e-05/0.7477, allocations: 3.984 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.7477, allocations: 15.56 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.7477, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.002588/0.7503, allocations: 493.6 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches