Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 104 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002485/0.002485, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.163/3.163, allocations: 0.4899 GB / 0.7915 GB, free: 33.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 78.25 kB / 1.149 GB, free: 26.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 176.1 MB / 1.321 GB, free: 2.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002868/0.3302, allocations: 1.514 MB / 1.323 GB, free: 1.336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.3318, allocations: 1.152 MB / 1.324 GB, free: 180 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.3319, allocations: 3.938 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.3321, allocations: 23.86 kB / 1.324 GB, free: 152 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.3323, allocations: 35.78 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.3325, allocations: 59.55 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.3327, allocations: 155.5 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3329, allocations: 53.03 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.333, allocations: 83.81 kB / 1.324 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.3332, allocations: 51.7 kB / 1.324 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.625e-05/0.3332, allocations: 12 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.287e-05/0.3333, allocations: 24 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.08e-05/0.3334, allocations: 59.75 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.362e-05/0.3335, allocations: 67.58 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.3337, allocations: 203.3 kB / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.3338, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3338, allocations: 0 / 1.325 GB, free: 15.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3338, allocations: 4 kB / 1.325 GB, free: 15.36 MB / 1.029 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.0007567/0.3345, allocations: 0.4906 MB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.3345, allocations: 15.98 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.3346, allocations: 20.78 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.335, allocations: 256 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.3351, allocations: 115.4 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3351, allocations: 12.36 kB / 1.326 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.3355, allocations: 161.6 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3355, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.3355, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.3356, allocations: 11.98 kB / 1.326 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.399e-05/0.3357, allocations: 47.91 kB / 1.326 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3368, allocations: 460.4 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.3369, allocations: 42.5 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.308e-05/0.337, allocations: 20.8 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.337, allocations: 12.12 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.337, allocations: 38.56 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.337, allocations: 4 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0002874/0.3373, allocations: 101.6 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3373, allocations: 55.34 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.3376, allocations: 219.7 kB / 1.327 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.3376, allocations: 33.7 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.3377, allocations: 120 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.3377, allocations: 27.92 kB / 1.327 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.3378, allocations: 25.72 kB / 1.327 GB, free: 12.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3379, allocations: 330.8 kB / 1.327 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.853e-05/0.338, allocations: 31.91 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.3381, allocations: 94.28 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.3383, allocations: 146.1 kB / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3383, allocations: 0 / 1.327 GB, free: 12.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002574/0.3386, allocations: 153.5 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3386, allocations: 8 kB / 1.328 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3386, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3386, allocations: 4 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3387, allocations: 27.92 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3387, allocations: 7.938 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.3388, allocations: 11.89 kB / 1.328 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.3388, allocations: 8 kB / 1.328 GB, free: 11.96 MB / 1.029 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.0001456/0.3389, allocations: 146 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.688e-05/0.339, allocations: 15.91 kB / 1.328 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.3392, allocations: 127 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3392, allocations: 0 / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3392, allocations: 7.938 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3392, allocations: 3.984 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.3395, allocations: 229.6 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3395, allocations: 0 / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.3396, allocations: 12 kB / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3396, allocations: 0 / 1.328 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3396, allocations: 4 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3396, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.3396, allocations: 11.92 kB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3398, allocations: 187.4 kB / 1.328 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.3399, allocations: 89.02 kB / 1.328 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3399, allocations: 4 kB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/0.3401, allocations: 15.98 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.3402, allocations: 19.86 kB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.3402, allocations: 11.98 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001551/0.3403, allocations: 161.5 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3403, allocations: 0 / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003124/0.3407, allocations: 35.89 kB / 1.329 GB, free: 10.8 MB / 1.029 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.0002518/0.3409, allocations: 125.4 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001805/0.3411, allocations: 71.83 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3411, allocations: 0 / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.3411, allocations: 27.92 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.3414, allocations: 22.77 kB / 1.329 GB, free: 10.56 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005336/0.342, allocations: 290.7 kB / 1.329 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.3423, allocations: 0.7353 MB / 1.33 GB, free: 9.488 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.3424, allocations: 48.73 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.3425, allocations: 19.42 kB / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.3425, allocations: 0 / 1.33 GB, free: 9.422 MB / 1.029 GB Notification: Performance of Templates: time 0.005833/0.3483, allocations: 2.397 MB / 1.332 GB, free: 7.051 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.699529943987727]