Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_10_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_10_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.005556/0.005556, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.00118/0.00118, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.644/2.644, allocations: 437 MB / 0.7105 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 59.91 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.3189, allocations: 151.6 MB / 1.167 GB, free: 6.953 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.00304/0.322, allocations: 1.488 MB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3233, allocations: 1.113 MB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.469e-05/0.3234, allocations: 4 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.3236, allocations: 11.86 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.3238, allocations: 43.78 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.324, allocations: 59.91 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3242, allocations: 147.5 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3244, allocations: 61.09 kB / 1.169 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.246e-05/0.3245, allocations: 79.77 kB / 1.17 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.3246, allocations: 59.64 kB / 1.17 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.104e-05/0.3247, allocations: 12 kB / 1.17 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.757e-05/0.3248, allocations: 23.98 kB / 1.17 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 8.859e-05/0.3249, allocations: 51.83 kB / 1.17 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.235e-05/0.3249, allocations: 75.58 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.3252, allocations: 203.2 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3252, allocations: 0 / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3252, allocations: 4 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3252, allocations: 0 / 1.17 GB, free: 3.504 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006581/0.3259, allocations: 0.4906 MB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3259, allocations: 8.031 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.326, allocations: 24.8 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.3263, allocations: 252 kB / 1.171 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.3264, allocations: 123.3 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3265, allocations: 12.38 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003248/0.3268, allocations: 161.7 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3268, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3268, allocations: 0 / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.3269, allocations: 15.94 kB / 1.171 GB, free: 2.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.327, allocations: 39.97 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.3279, allocations: 456.5 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.265e-05/0.328, allocations: 34.5 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.3281, allocations: 24.86 kB / 1.172 GB, free: 1.707 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.3281, allocations: 16.12 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3281, allocations: 34.56 kB / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.3281, allocations: 0 / 1.172 GB, free: 1.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.0002549/0.3284, allocations: 105.5 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3284, allocations: 55.41 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.3287, allocations: 223.8 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.3287, allocations: 29.7 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.3288, allocations: 120.1 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.3288, allocations: 27.73 kB / 1.172 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.635e-05/0.3289, allocations: 33.66 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.329, allocations: 330.8 kB / 1.172 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.329, allocations: 23.98 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.966e-05/0.3291, allocations: 98.28 kB / 1.173 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.3293, allocations: 146.1 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3293, allocations: 0 / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002267/0.3296, allocations: 153.4 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3296, allocations: 8 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3296, allocations: 7.938 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.3296, allocations: 4 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.3297, allocations: 27.92 kB / 1.173 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3297, allocations: 7.938 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.732e-05/0.3298, allocations: 7.938 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.3298, allocations: 8 kB / 1.173 GB, free: 128 kB / 0.92 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.0001315/0.3299, allocations: 150 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.33, allocations: 19.86 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.3302, allocations: 115.2 kB / 1.173 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3302, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3302, allocations: 3.938 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3302, allocations: 0 / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.3305, allocations: 233.5 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3305, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.3305, allocations: 12 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3305, allocations: 4 kB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3306, allocations: 3.984 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.3306, allocations: 4 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3306, allocations: 11.81 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.3308, allocations: 187.8 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3308, allocations: 89.02 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3308, allocations: 0 / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.3311, allocations: 27.91 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.3311, allocations: 7.938 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.3312, allocations: 11.98 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001425/0.3313, allocations: 156.2 kB / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3313, allocations: 0 / 1.174 GB, free: 15 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002931/0.3316, allocations: 39.88 kB / 1.174 GB, free: 14.96 MB / 0.9356 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.0002772/0.3319, allocations: 134 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.3321, allocations: 71.83 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3321, allocations: 0 / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.3321, allocations: 27.92 kB / 1.174 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3325, allocations: 12.75 kB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005176/0.333, allocations: 294.7 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.3333, allocations: 0.739 MB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.3335, allocations: 52.73 kB / 1.175 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.3335, allocations: 19.42 kB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.3335, allocations: 0 / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.004966/0.3385, allocations: 2.376 MB / 1.178 GB, free: 11.22 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches