Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_10_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_10_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.001694/0.001695, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001898/0.001898, allocations: 192.3 kB / 16.91 MB, free: 6.18 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.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.536/2.536, allocations: 437 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 60.05 kB / 0.8694 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3237, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002819/0.3265, allocations: 1.435 MB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001495/0.3267, allocations: 37.95 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.3267, allocations: 0 / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.3269, allocations: 15.92 kB / 1.019 GB, free: 9.504 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.3271, allocations: 11.92 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.3271, allocations: 0 / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.191e-05/0.3271, allocations: 20 kB / 1.019 GB, free: 9.473 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.668e-05/0.3272, allocations: 4 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.781e-05/0.3272, allocations: 15.8 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.3273, allocations: 4 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.3273, allocations: 4 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 4.768e-05/0.3274, allocations: 11.98 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.3274, allocations: 7.938 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.3274, allocations: 11.92 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.09e-05/0.3275, allocations: 19.98 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3275, allocations: 0 / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3275, allocations: 4 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.289e-06/0.3275, allocations: 0 / 1.019 GB, free: 9.391 MB / 0.795 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.0003847/0.3279, allocations: 339.6 kB / 1.019 GB, free: 9.008 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.328, allocations: 12.92 kB / 1.019 GB, free: 8.996 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.328, allocations: 4.922 kB / 1.019 GB, free: 8.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3283, allocations: 176.3 kB / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3283, allocations: 384 / 1.02 GB, free: 8.781 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.3283, allocations: 8.312 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.769e-05/0.3284, allocations: 34.2 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3284, allocations: 4.188 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3284, allocations: 3.938 kB / 1.02 GB, free: 8.727 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.3285, allocations: 4 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.891e-05/0.3285, allocations: 0 / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.3287, allocations: 153.7 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.249e-05/0.3287, allocations: 18.61 kB / 1.02 GB, free: 8.496 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/0.3287, allocations: 4.859 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.3288, allocations: 7.984 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.3288, allocations: 42.56 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.3288, allocations: 0 / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.3289, allocations: 37.64 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.329, allocations: 51.41 kB / 1.02 GB, free: 8.324 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.3291, allocations: 113.8 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3291, allocations: 25.7 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.3292, allocations: 88.25 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.3292, allocations: 11.91 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.3293, allocations: 9.719 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3294, allocations: 314.8 kB / 1.02 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.3294, allocations: 4 kB / 1.02 GB, free: 7.734 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.593e-06/0.3294, allocations: 0 / 1.02 GB, free: 7.734 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.768e-05/0.3295, allocations: 12.8 kB / 1.02 GB, free: 7.719 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3295, allocations: 3.984 kB / 1.02 GB, free: 7.715 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.19e-05/0.3295, allocations: 41.77 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3296, allocations: 4 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3296, allocations: 3.938 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.908e-06/0.3296, allocations: 7.938 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.164e-05/0.3296, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.3296, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.186e-05/0.3297, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.3297, allocations: 0 / 1.021 GB, free: 7.652 MB / 0.795 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 8.342e-05/0.3297, allocations: 113.8 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.3298, allocations: 4.031 kB / 1.021 GB, free: 7.527 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.2e-05/0.3299, allocations: 49.11 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3299, allocations: 0 / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.3299, allocations: 7.922 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3299, allocations: 0 / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.33, allocations: 161.6 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.33, allocations: 0 / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.22e-05/0.3301, allocations: 0 / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3301, allocations: 0 / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.3301, allocations: 7.938 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.3301, allocations: 4.031 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3301, allocations: 4 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.059e-05/0.3302, allocations: 65.06 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.3302, allocations: 81.09 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.348e-05/0.3303, allocations: 3.938 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.568e-06/0.3303, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.438e-06/0.3303, allocations: 0 / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3303, allocations: 8.031 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.975e-05/0.3304, allocations: 95.27 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3304, allocations: 0 / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001823/0.3306, allocations: 4 kB / 1.021 GB, free: 6.953 MB / 0.795 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.0002276/0.3308, allocations: 117.8 kB / 1.021 GB, free: 6.832 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.52e-05/0.3309, allocations: 8 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3309, allocations: 0 / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.3309, allocations: 7.938 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.3311, allocations: 4 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.3314, allocations: 151.2 kB / 1.021 GB, free: 6.633 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3317, allocations: 0.6806 MB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.633e-05/0.3317, allocations: 15.56 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3317, allocations: 0 / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of Templates: time 0.002354/0.3341, allocations: 0.7727 MB / 1.023 GB, free: 5.141 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile (rm -f Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches