Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008936/0.008936, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001825/0.001825, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.38 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3389, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.00352/0.3424, allocations: 1.474 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.3435, allocations: 472.2 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.3436, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.3437, allocations: 11.86 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.344, allocations: 23.84 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.3441, allocations: 15.98 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001275/0.3443, allocations: 55.73 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.3444, allocations: 4 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001294/0.3445, allocations: 27.91 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3447, allocations: 23.91 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3447, allocations: 8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.3447, allocations: 4 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.825e-05/0.3447, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.311e-05/0.3448, allocations: 31.8 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.3449, allocations: 43.81 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.345, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.964e-06/0.345, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.345, allocations: 0 / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007633/0.3457, allocations: 355.3 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3458, allocations: 12.03 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.3459, allocations: 4.891 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.346, allocations: 168.4 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.346, allocations: 4.375 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.3461, allocations: 384 / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3462, allocations: 57.98 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3462, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3463, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3463, allocations: 3.938 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.623e-05/0.3464, allocations: 27.97 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000453/0.3468, allocations: 268.9 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3469, allocations: 42.56 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.509e-05/0.347, allocations: 24.86 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.347, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.3472, allocations: 71.42 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.3473, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002596/0.3475, allocations: 85.62 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.3476, allocations: 51.41 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3477, allocations: 109.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3477, allocations: 29.7 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.3478, allocations: 92.02 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.3478, allocations: 19.89 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/0.3479, allocations: 21.7 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.348, allocations: 318.8 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.633e-05/0.3481, allocations: 19.92 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.3481, allocations: 8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.159e-05/0.3482, allocations: 32.86 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3482, allocations: 384 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001436/0.3483, allocations: 65.69 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.3484, allocations: 9.719 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3484, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3484, allocations: 0 / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.3485, allocations: 15.92 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3485, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.432e-05/0.3486, allocations: 3.953 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3486, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 9.546e-05/0.3487, allocations: 113.8 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.3487, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3487, allocations: 7.953 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3487, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3488, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.3488, allocations: 4 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.3489, allocations: 169.6 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3489, allocations: 0 / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.349, allocations: 7.984 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.349, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.349, allocations: 4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.349, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.349, allocations: 4 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.3492, allocations: 101 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-05/0.3492, allocations: 81.09 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.3493, allocations: 4 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.123e-05/0.3493, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.3494, allocations: 11.92 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3494, allocations: 0 / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.318e-05/0.3495, allocations: 87.28 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3495, allocations: 0 / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000199/0.3497, allocations: 15.94 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001518/0.3498, allocations: 107.2 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.35, allocations: 43.98 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.35, allocations: 0 / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-05/0.3501, allocations: 20 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.3503, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.3506, allocations: 134.1 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.3509, allocations: 0.6846 MB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.201e-05/0.351, allocations: 3.938 kB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.451e-05/0.351, allocations: 15.44 kB / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.351, allocations: 0 / 1.093 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of Templates: time 0.003144/0.3542, allocations: 0.5663 MB / 1.094 GB, free: 10.85 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches