Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_10_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_10_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.001737/0.001737, allocations: 107.8 kB / 16.41 MB, free: 6.504 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.001729/0.00173, allocations: 188 kB / 17.34 MB, free: 5.738 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.506/1.506, allocations: 222.9 MB / 241 MB, free: 15.08 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.733/2.733, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.88 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 151.6 MB / 1.167 GB, free: 3.664 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003165/1.011, allocations: 1.482 MB / 1.169 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000893/1.012, allocations: 466.8 kB / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/1.012, allocations: 0 / 1.169 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/1.012, allocations: 7.938 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/1.013, allocations: 27.84 kB / 1.169 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 8e-05/1.013, allocations: 15.92 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/1.013, allocations: 47.84 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/1.013, allocations: 15.92 kB / 1.169 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/1.013, allocations: 23.92 kB / 1.169 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/1.013, allocations: 19.92 kB / 1.169 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/1.013, allocations: 4 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/1.013, allocations: 11.94 kB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.227e-05/1.013, allocations: 7.984 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/1.013, allocations: 23.92 kB / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/1.013, allocations: 47.55 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.013, allocations: 4 kB / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.314e-06/1.013, allocations: 0 / 1.169 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.013, allocations: 0 / 1.169 GB, free: 1.461 MB / 0.8887 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.0006422/1.014, allocations: 348 kB / 1.17 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/1.014, allocations: 12.92 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/1.014, allocations: 4.938 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/1.014, allocations: 184.2 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/1.014, allocations: 384 / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.014, allocations: 4.375 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/1.015, allocations: 53.98 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.015, allocations: 0 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/1.015, allocations: 4 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/1.015, allocations: 0 / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.806e-05/1.015, allocations: 12 kB / 1.17 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/1.015, allocations: 280.8 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/1.015, allocations: 42.56 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/1.015, allocations: 28.94 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/1.015, allocations: 0 / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/1.015, allocations: 67.34 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/1.015, allocations: 4 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002293/1.016, allocations: 81.8 kB / 1.171 GB, free: 196 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.016, allocations: 51.41 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.016, allocations: 113.8 kB / 1.171 GB, free: 8 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/1.016, allocations: 29.7 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/1.016, allocations: 84.14 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/1.016, allocations: 15.84 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/1.016, allocations: 21.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002679/1.016, allocations: 322.8 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-05/1.016, allocations: 12.06 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.176e-05/1.016, allocations: 15.98 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.983e-05/1.016, allocations: 28.86 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.016, allocations: 4 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001759/1.017, allocations: 73.52 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/1.017, allocations: 4 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/1.017, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/1.017, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/1.017, allocations: 12 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/1.017, allocations: 3.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/1.017, allocations: 4 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/1.017, allocations: 0 / 1.171 GB, free: 15.36 MB / 0.9044 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.159e-05/1.017, allocations: 121.7 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/1.017, allocations: 7.953 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/1.017, allocations: 7.969 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/1.017, allocations: 0 / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/1.017, allocations: 3.984 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/1.017, allocations: 7.938 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/1.017, allocations: 173.6 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.017, allocations: 3.984 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/1.017, allocations: 4 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.017, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/1.017, allocations: 3.984 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.017, allocations: 192 / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.017, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/1.018, allocations: 93.06 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/1.018, allocations: 89.06 kB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/1.018, allocations: 3.984 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.663e-05/1.018, allocations: 4 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/1.018, allocations: 0 / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/1.018, allocations: 7.984 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.533e-05/1.018, allocations: 87.28 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.018, allocations: 3.938 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001896/1.018, allocations: 12 kB / 1.172 GB, free: 14.63 MB / 0.9044 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.0001314/1.018, allocations: 103.2 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001298/1.018, allocations: 35.92 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.018, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/1.019, allocations: 27.92 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/1.019, allocations: 0 / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/1.019, allocations: 141.9 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/1.019, allocations: 0.6914 MB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.973e-05/1.019, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/1.019, allocations: 11.44 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/1.019, allocations: 0 / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of Templates: time 0.003111/1.023, allocations: 0.5502 MB / 1.173 GB, free: 13.02 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches