Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001987/0.001987, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.958/0.958, allocations: 177.1 MB / 204.5 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.139/2.139, allocations: 429.5 MB / 0.6743 GB, free: 3.863 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|locTim.locTim|locTim.cloTim",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.875 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.706e-05, allocations: 4.984 kB / 0.8794 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002392/0.002419, allocations: 1.533 MB / 0.8809 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000731/0.00315, allocations: 496.7 kB / 0.8814 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.003201, allocations: 4 kB / 0.8814 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.00323, allocations: 4.875 kB / 0.8814 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.003446, allocations: 24.91 kB / 0.8814 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.822e-05/0.003514, allocations: 19.92 kB / 0.8814 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.244e-05/0.003596, allocations: 59.78 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.003673, allocations: 1.125 kB / 0.8815 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.003837, allocations: 47.83 kB / 0.8815 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.003906, allocations: 19.97 kB / 0.8816 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.003926, allocations: 10.09 kB / 0.8816 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.063e-05/0.003936, allocations: 4 kB / 0.8816 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.003955, allocations: 11.92 kB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.003986, allocations: 15.98 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 7.923e-05/0.004065, allocations: 31.89 kB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.004068, allocations: 2.438 kB / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.52e-07/0.004069, allocations: 0 / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.004072, allocations: 0 / 0.8816 GB, free: 3.734 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004214/0.004494, allocations: 384.5 kB / 0.882 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.004527, allocations: 12.03 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.004561, allocations: 12.88 kB / 0.882 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.67e-05/0.004648, allocations: 121.2 kB / 0.8821 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.004661, allocations: 384 / 0.8821 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.004669, allocations: 6.031 kB / 0.8821 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.391e-05/0.004753, allocations: 58.94 kB / 0.8822 GB, free: 3.086 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.004762, allocations: 8.172 kB / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.004768, allocations: 384 / 0.8822 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.004774, allocations: 4.438 kB / 0.8822 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.004802, allocations: 11.98 kB / 0.8822 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.005261, allocations: 257.7 kB / 0.8825 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.037e-05/0.005352, allocations: 43.05 kB / 0.8825 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.005377, allocations: 21.34 kB / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-06/0.005383, allocations: 128 / 0.8825 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.005485, allocations: 80.86 kB / 0.8826 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.005486, allocations: 0 / 0.8826 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001484/0.005634, allocations: 69.69 kB / 0.8827 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.005672, allocations: 55.41 kB / 0.8827 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.005747, allocations: 165.9 kB / 0.8829 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.005761, allocations: 33.64 kB / 0.8829 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.69e-05/0.005807, allocations: 134.9 kB / 0.883 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.005834, allocations: 19.84 kB / 0.8831 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.00587, allocations: 23.38 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.005993, allocations: 0.4884 MB / 0.8836 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.006012, allocations: 8 kB / 0.8836 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.006029, allocations: 11.92 kB / 0.8836 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.006077, allocations: 27.67 kB / 0.8836 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.006078, allocations: 4 kB / 0.8836 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.394e-05/0.006172, allocations: 62.41 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.006187, allocations: 14.44 kB / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006192, allocations: 0 / 0.8837 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.006202, allocations: 4 kB / 0.8837 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.006271, allocations: 11.98 kB / 0.8837 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.006276, allocations: 8.016 kB / 0.8837 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.937e-05/0.006315, allocations: 7.891 kB / 0.8837 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.006323, allocations: 3.984 kB / 0.8837 GB, free: 1.398 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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.458e-05/0.006397, allocations: 164.6 kB / 0.8839 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.492e-05/0.006412, allocations: 11.92 kB / 0.8839 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.006437, allocations: 8.438 kB / 0.8839 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.006441, allocations: 4 kB / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.006442, allocations: 0 / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.006445, allocations: 0 / 0.8839 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.589e-05/0.006531, allocations: 105.2 kB / 0.884 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006532, allocations: 0 / 0.884 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.006552, allocations: 4 kB / 0.884 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.006554, allocations: 0 / 0.884 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.006561, allocations: 4 kB / 0.884 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.006563, allocations: 7.938 kB / 0.884 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.006563, allocations: 0 / 0.884 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.006676, allocations: 104.3 kB / 0.8841 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.00669, allocations: 11.95 kB / 0.8841 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.006707, allocations: 4 kB / 0.8841 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.27e-05/0.00674, allocations: 11.92 kB / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.006764, allocations: 0 / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.006769, allocations: 0 / 0.8841 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.492e-05/0.006814, allocations: 139.1 kB / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006814, allocations: 0 / 0.8843 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001826/0.006997, allocations: 12 kB / 0.8843 GB, free: 0.7539 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 9.745e-05/0.007094, allocations: 103.2 kB / 0.8844 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.852e-05/0.007183, allocations: 35.59 kB / 0.8844 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.007186, allocations: 4 kB / 0.8844 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.007217, allocations: 23.75 kB / 0.8844 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.007354, allocations: 8.922 kB / 0.8844 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005314/0.007885, allocations: 162.1 kB / 0.8846 GB, free: 388 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.334e-05/0.007918, allocations: 63.34 kB / 0.8847 GB, free: 304 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.007946, allocations: 4 kB / 0.8847 GB, free: 300 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.007993, allocations: 70.2 kB / 0.8847 GB, free: 228 kB / 0.8386 GB Notification: Performance of SimCode: time 8.01e-07/0.007994, allocations: 4 kB / 0.8847 GB, free: 224 kB / 0.8386 GB Notification: Performance of Templates: time 0.002454/0.01045, allocations: 0.6704 MB / 0.8854 GB, free: 15.56 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.372702224180102]