Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_11_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_11_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.007826/0.007826, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001969/0.001969, allocations: 195 kB / 16.68 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.16 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.866/2.866, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 72.25 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3414, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003109/0.3445, allocations: 1.476 MB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008447/0.3454, allocations: 478.8 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.805e-05/0.3454, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.728e-05/0.3454, allocations: 0 / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.3457, allocations: 31.55 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 8.467e-05/0.3458, allocations: 23.97 kB / 1.223 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.3459, allocations: 55.78 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.346, allocations: 4 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.3461, allocations: 23.86 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.238e-05/0.3462, allocations: 27.91 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3462, allocations: 4 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.3462, allocations: 4 kB / 1.223 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.296e-05/0.3463, allocations: 7.984 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.3463, allocations: 19.88 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3464, allocations: 47.8 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3464, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3464, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3464, allocations: 4 kB / 1.223 GB, free: 11.59 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005964/0.347, allocations: 351.3 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3471, allocations: 12.03 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.449e-05/0.3471, allocations: 8.828 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.3472, allocations: 172.3 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3473, allocations: 8.375 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.3473, allocations: 4.375 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3474, allocations: 54 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3474, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.3474, allocations: 7.984 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3474, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.398e-05/0.3475, allocations: 16 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3479, allocations: 272.8 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.348, allocations: 42.56 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.348, allocations: 24.94 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.348, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.3482, allocations: 67.33 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3482, allocations: 3.938 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002271/0.3484, allocations: 77.69 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.3484, allocations: 51.41 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.3485, allocations: 113.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3486, allocations: 25.7 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.3486, allocations: 92.06 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3486, allocations: 19.84 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.3487, allocations: 17.72 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3488, allocations: 318.8 kB / 1.224 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.194e-05/0.3488, allocations: 12 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.3489, allocations: 15.98 kB / 1.224 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.898e-05/0.3489, allocations: 32.8 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3489, allocations: 0 / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001231/0.349, allocations: 70.08 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3491, allocations: 8 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3491, allocations: 0 / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3491, allocations: 0 / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.3491, allocations: 8 kB / 1.225 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3492, allocations: 4 kB / 1.225 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.111e-05/0.3492, allocations: 3.984 kB / 1.225 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.3492, allocations: 4 kB / 1.225 GB, free: 9.484 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: 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 8.655e-05/0.3493, allocations: 122.6 kB / 1.225 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.3493, allocations: 7.953 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3494, allocations: 7.969 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3494, allocations: 4 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3494, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3494, allocations: 0 / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001424/0.3495, allocations: 177.6 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3495, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.671e-05/0.3495, allocations: 4 kB / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3495, allocations: 0 / 1.225 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3495, allocations: 4 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3495, allocations: 4 kB / 1.225 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3496, allocations: 3.984 kB / 1.225 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.3497, allocations: 97.05 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.3497, allocations: 81.06 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.3498, allocations: 7.938 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-05/0.3498, allocations: 3.984 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.3499, allocations: 4 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.3499, allocations: 0 / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.932e-05/0.3499, allocations: 107.2 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3499, allocations: 3.938 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001911/0.3501, allocations: 8 kB / 1.225 GB, free: 8.746 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: 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.0001125/0.3502, allocations: 101.3 kB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.3504, allocations: 39.92 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3504, allocations: 0 / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.681e-05/0.3504, allocations: 23.92 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.3506, allocations: 0 / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003461/0.3509, allocations: 149.8 kB / 1.226 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.3512, allocations: 0.6846 MB / 1.226 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.3512, allocations: 4 kB / 1.226 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.737e-05/0.3512, allocations: 11.44 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3512, allocations: 0 / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.002576/0.3538, allocations: 0.5582 MB / 1.227 GB, free: 7.133 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches