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.008412/0.008413, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001866/0.001866, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.656/2.656, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.91 kB / 1.019 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3108, allocations: 151.6 MB / 1.167 GB, free: 6.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002598/0.3135, allocations: 1.365 MB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.3136, allocations: 39.83 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.3137, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.3139, allocations: 19.91 kB / 1.168 GB, free: 5.492 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.314, allocations: 7.938 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.35e-06/0.314, allocations: 4 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.429e-05/0.3141, allocations: 19.92 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.177e-05/0.3141, allocations: 7.938 kB / 1.168 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.646e-05/0.3142, allocations: 4 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.729e-05/0.3142, allocations: 7.922 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3143, allocations: 7.984 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.876e-05/0.3143, allocations: 16 kB / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.247e-05/0.3144, allocations: 0 / 1.168 GB, free: 5.418 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.3144, allocations: 7.938 kB / 1.168 GB, free: 5.41 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3145, allocations: 35.83 kB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3145, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3145, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3145, allocations: 0 / 1.168 GB, free: 5.375 MB / 0.92 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.0003402/0.3149, allocations: 339.3 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3149, allocations: 12.03 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.315, allocations: 4.938 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3152, allocations: 184.2 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.3152, allocations: 384 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3152, allocations: 384 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.372e-05/0.3153, allocations: 34.25 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3153, allocations: 4.125 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3153, allocations: 3.938 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.3153, allocations: 4 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.91e-05/0.3154, allocations: 0 / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.3156, allocations: 157.7 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.651e-05/0.3156, allocations: 22.55 kB / 1.169 GB, free: 4.473 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.3157, allocations: 8.859 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.3157, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3157, allocations: 34.62 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3157, allocations: 0 / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.3159, allocations: 37.62 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.3159, allocations: 59.53 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.316, allocations: 121.8 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.3161, allocations: 25.7 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/0.3161, allocations: 84.14 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.3161, allocations: 7.953 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.3162, allocations: 9.719 kB / 1.169 GB, free: 4.035 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3163, allocations: 318.8 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.3163, allocations: 8 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-06/0.3163, allocations: 4 kB / 1.17 GB, free: 3.703 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.227e-05/0.3164, allocations: 8.859 kB / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3164, allocations: 0 / 1.17 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.815e-05/0.3164, allocations: 41.69 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3164, allocations: 4 kB / 1.17 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3165, allocations: 3.938 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3165, allocations: 11.88 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.243e-05/0.3165, allocations: 0 / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3166, allocations: 4.094 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.3166, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.3166, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 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 7.4e-05/0.3167, allocations: 109.8 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.3167, allocations: 7.938 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.3168, allocations: 49.16 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3168, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3168, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.3168, allocations: 0 / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001166/0.3169, allocations: 165.7 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.317, allocations: 3.938 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/0.317, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.317, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.317, allocations: 3.938 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.317, allocations: 3.938 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.317, allocations: 4 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.3171, allocations: 65.12 kB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.3171, allocations: 77.11 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3172, allocations: 3.938 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.598e-06/0.3172, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.3172, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.3172, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.506e-05/0.3173, allocations: 99.27 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3173, allocations: 0 / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002043/0.3175, allocations: 7.953 kB / 1.17 GB, free: 2.926 MB / 0.92 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.0002226/0.3177, allocations: 111.2 kB / 1.17 GB, free: 2.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.006e-05/0.3178, allocations: 11.92 kB / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3178, allocations: 0 / 1.17 GB, free: 2.797 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.3178, allocations: 8 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.318, allocations: 2.5 kB / 1.17 GB, free: 2.789 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002773/0.3183, allocations: 117.5 kB / 1.17 GB, free: 2.648 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002755/0.3186, allocations: 0.6768 MB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 7.754e-05/0.3186, allocations: 4 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.3187, allocations: 7.438 kB / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.3187, allocations: 0 / 1.171 GB, free: 1.934 MB / 0.92 GB Notification: Performance of Templates: time 0.002742/0.3214, allocations: 0.5026 MB / 1.172 GB, free: 1.438 MB / 0.92 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 -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/jenkins/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