Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007876/0.007876, allocations: 99.41 kB / 15.73 MB, free: 6.445 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.001669/0.001669, allocations: 194.3 kB / 16.67 MB, free: 6.352 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.11 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3158, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002405/0.3182, allocations: 1.36 MB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001463/0.3183, allocations: 43.77 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.93e-05/0.3184, allocations: 4 kB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.3185, allocations: 15.92 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.3186, allocations: 15.92 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.116e-06/0.3186, allocations: 0 / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.215e-05/0.3187, allocations: 15.94 kB / 1.222 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3187, allocations: 3.984 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.786e-05/0.3188, allocations: 7.938 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.3188, allocations: 8 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3188, allocations: 0 / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.501e-05/0.3189, allocations: 11.98 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.3189, allocations: 15.92 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.3189, allocations: 7.938 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.319, allocations: 31.83 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.319, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.319, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.319, allocations: 0 / 1.222 GB, free: 12.31 MB / 0.9825 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.0003124/0.3194, allocations: 335.4 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3194, allocations: 12.03 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.476e-05/0.3194, allocations: 4.875 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.3196, allocations: 176.3 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.3196, allocations: 8.312 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.3196, allocations: 4.375 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.891e-05/0.3197, allocations: 34.25 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.3197, allocations: 192 / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3197, allocations: 3.938 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.3197, allocations: 4 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.3197, allocations: 3.984 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.3199, allocations: 153.7 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.071e-05/0.3199, allocations: 30.55 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.32, allocations: 4.859 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.32, allocations: 3.938 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.32, allocations: 34.62 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.32, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.3201, allocations: 37.64 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.3201, allocations: 55.53 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.3202, allocations: 121.8 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.3202, allocations: 25.7 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.901e-05/0.3203, allocations: 84.08 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.3203, allocations: 11.89 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3203, allocations: 13.72 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3204, allocations: 310.8 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/0.3204, allocations: 4 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-06/0.3204, allocations: 7.984 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.3205, allocations: 12.86 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3205, allocations: 0 / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.386e-05/0.3205, allocations: 33.7 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3205, allocations: 4 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3205, allocations: 3.938 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.3206, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.264e-05/0.3206, allocations: 3.938 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3206, allocations: 3.984 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.272e-05/0.3206, allocations: 4.094 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3206, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 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.263e-05/0.3207, allocations: 117.8 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.3207, allocations: 3.953 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.51e-05/0.3208, allocations: 53.09 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3208, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3208, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.3208, allocations: 0 / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.3209, allocations: 157.7 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3209, allocations: 4.031 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.3209, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3209, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3209, allocations: 3.938 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.3209, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3209, allocations: 11.92 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.429e-05/0.321, allocations: 61.08 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.321, allocations: 81.06 kB / 1.224 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.321, allocations: 7.969 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.321, allocations: 4 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.3211, allocations: 3.984 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.3211, allocations: 0 / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.3211, allocations: 91.28 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3211, allocations: 0 / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001841/0.3213, allocations: 4 kB / 1.224 GB, free: 9.863 MB / 0.9825 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.0002054/0.3215, allocations: 115.5 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.815e-05/0.3216, allocations: 11.94 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3216, allocations: 0 / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.3216, allocations: 4 kB / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.3217, allocations: 0 / 1.224 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.322, allocations: 125.4 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3222, allocations: 0.6807 MB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.3222, allocations: 7.984 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.3223, allocations: 11.44 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3223, allocations: 3.938 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of Templates: time 0.002289/0.3245, allocations: 0.4911 MB / 1.226 GB, free: 8.363 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches