Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001343, allocations: 108 kB / 15.6 MB, free: 128 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.001325/0.001325, allocations: 195.9 kB / 16.53 MB, free: 6.395 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.82/2.82, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 62.72 kB / 0.912 GB, free: 33.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3198, allocations: 159.9 MB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00279/0.3227, allocations: 1.475 MB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3242, allocations: 1.109 MB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.3243, allocations: 0 / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.3245, allocations: 23.84 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.3246, allocations: 35.78 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001831/0.3248, allocations: 63.84 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.325, allocations: 147.6 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001925/0.3252, allocations: 57.09 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9e-05/0.3253, allocations: 87.7 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.3255, allocations: 59.62 kB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.3255, allocations: 12 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.3256, allocations: 24 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.632e-05/0.3257, allocations: 43.88 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.281e-05/0.3258, allocations: 79.52 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.326, allocations: 203.6 kB / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.326, allocations: 0 / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.103e-06/0.326, allocations: 0 / 1.072 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.326, allocations: 0 / 1.072 GB, free: 6.977 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006579/0.3267, allocations: 494.7 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.3268, allocations: 8.031 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.905e-05/0.3268, allocations: 16.75 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.3271, allocations: 261.8 kB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.3273, allocations: 115.4 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3273, allocations: 4.375 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.3276, allocations: 161.7 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.3276, allocations: 0 / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.3277, allocations: 7.984 kB / 1.073 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.3277, allocations: 4 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.3278, allocations: 51.84 kB / 1.073 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.3288, allocations: 460.4 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.72e-05/0.3289, allocations: 38.5 kB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.329, allocations: 24.86 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.329, allocations: 11.98 kB / 1.073 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.329, allocations: 38.56 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.329, allocations: 0 / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002517/0.3293, allocations: 97.72 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.3293, allocations: 55.34 kB / 1.073 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3295, allocations: 227.7 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.655e-05/0.3296, allocations: 33.7 kB / 1.074 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.241e-05/0.3297, allocations: 120 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.3297, allocations: 31.58 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3297, allocations: 25.72 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3299, allocations: 326.8 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.054e-05/0.3299, allocations: 27.98 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.33, allocations: 98.28 kB / 1.074 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.3302, allocations: 142.1 kB / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.3302, allocations: 0 / 1.074 GB, free: 3.844 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002249/0.3304, allocations: 153.2 kB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3304, allocations: 8 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3304, allocations: 7.938 kB / 1.074 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3305, allocations: 4 kB / 1.074 GB, free: 3.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.532e-05/0.3306, allocations: 19.98 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3306, allocations: 12.25 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.3306, allocations: 19.84 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3307, allocations: 8 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 0.0001196/0.3308, allocations: 142.3 kB / 1.075 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.766e-05/0.3309, allocations: 19.8 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.3311, allocations: 119.1 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3311, allocations: 0 / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3311, allocations: 7.938 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3311, allocations: 4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.3313, allocations: 233.5 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3313, allocations: 0 / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.797e-05/0.3314, allocations: 16 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3314, allocations: 0 / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3314, allocations: 3.984 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3314, allocations: 3.938 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3314, allocations: 3.938 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.3316, allocations: 187.3 kB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.3317, allocations: 89.02 kB / 1.075 GB, free: 2.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.3317, allocations: 4 kB / 1.075 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.3319, allocations: 23.91 kB / 1.075 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.332, allocations: 7.938 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.332, allocations: 7.984 kB / 1.075 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000131/0.3321, allocations: 161.5 kB / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3321, allocations: 0 / 1.075 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002977/0.3324, allocations: 31.91 kB / 1.075 GB, free: 2.465 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 (8): * Single equations (assignments): 8 * 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.0002181/0.3327, allocations: 133 kB / 1.076 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.3328, allocations: 80.33 kB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3328, allocations: 4.25 kB / 1.076 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.3329, allocations: 23.94 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.3332, allocations: 23.77 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.3336, allocations: 300.8 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.334, allocations: 0.7314 MB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.3341, allocations: 52.73 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.3342, allocations: 23.42 kB / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3342, allocations: 0 / 1.077 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of Templates: time 0.005464/0.3396, allocations: 2.378 MB / 1.079 GB, free: 14.7 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches