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.001108/0.001108, allocations: 108 kB / 15.6 MB, free: 132 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.001196/0.001196, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.7 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 60.3 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3155, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002874/0.3184, allocations: 1.369 MB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001739/0.3186, allocations: 40.36 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.627e-05/0.3187, allocations: 0 / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.3189, allocations: 23.84 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.319, allocations: 11.92 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-06/0.319, allocations: 0 / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.846e-05/0.3191, allocations: 19.92 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.339e-05/0.3192, allocations: 4 kB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.494e-05/0.3192, allocations: 7.938 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.699e-05/0.3193, allocations: 7.984 kB / 1.07 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.3193, allocations: 3.938 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.62e-05/0.3194, allocations: 23.98 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.103e-05/0.3194, allocations: 3.938 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.3194, allocations: 11.94 kB / 1.07 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.3196, allocations: 23.91 kB / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3196, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3196, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.3196, allocations: 0 / 1.07 GB, free: 8.805 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.0003117/0.3199, allocations: 339.7 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3199, allocations: 8.031 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.112e-05/0.32, allocations: 4.938 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3202, allocations: 172.3 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3202, allocations: 4.375 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.3202, allocations: 384 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.053e-05/0.3203, allocations: 34.25 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.3203, allocations: 4.188 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.3203, allocations: 3.938 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.3203, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.257e-05/0.3204, allocations: 3.938 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.3205, allocations: 157.7 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.208e-05/0.3206, allocations: 18.61 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/0.3206, allocations: 4.859 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3206, allocations: 4.062 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.3206, allocations: 38.5 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.3206, allocations: 0 / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001263/0.3208, allocations: 45.69 kB / 1.071 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.3208, allocations: 55.41 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3209, allocations: 113.8 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3209, allocations: 25.7 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.321, allocations: 88.14 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.321, allocations: 3.906 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.321, allocations: 9.719 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.3212, allocations: 322.8 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.156e-05/0.3212, allocations: 4 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.3212, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.628e-05/0.3212, allocations: 16.73 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3212, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.826e-05/0.3213, allocations: 37.7 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3213, allocations: 11.98 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.3214, allocations: 3.938 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3214, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.099e-05/0.3214, allocations: 0 / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3214, allocations: 4.094 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.3215, allocations: 0 / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3215, allocations: 4 kB / 1.071 GB, free: 7.066 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 7.307e-05/0.3215, allocations: 107.4 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.3216, allocations: 7.906 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.665e-05/0.3217, allocations: 49.09 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3217, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3217, allocations: 4 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.3217, allocations: 4.031 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.3218, allocations: 157.7 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3218, allocations: 0 / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.922e-05/0.3218, allocations: 3.984 kB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3218, allocations: 0 / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.924e-06/0.3219, allocations: 7.938 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3219, allocations: 0 / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3219, allocations: 0 / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.999e-05/0.3219, allocations: 61.14 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.322, allocations: 88.94 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.322, allocations: 7.875 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.055e-05/0.322, allocations: 0 / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.714e-05/0.322, allocations: 4 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.322, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.68e-05/0.3221, allocations: 99.56 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3221, allocations: 0 / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001934/0.3223, allocations: 4 kB / 1.072 GB, free: 6.367 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.0001941/0.3225, allocations: 125.9 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/0.3226, allocations: 7.984 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3226, allocations: 0 / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.3226, allocations: 8 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.3228, allocations: 1.562 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.323, allocations: 121.5 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3233, allocations: 0.6807 MB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.734e-05/0.3233, allocations: 0 / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.3234, allocations: 11.44 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3234, allocations: 0 / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.00244/0.3258, allocations: 495.5 kB / 1.073 GB, free: 4.879 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