Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.002013/0.002013, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002159/0.002159, allocations: 157.3 kB / 23.55 MB, free: 0.8633 MB / 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 1.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.179/3.179, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5001,variableFilter="time|solTim.solTim|solTim.locTim",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8108 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.166e-05/3.346e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003321/0.003355, allocations: 1.625 MB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004675, allocations: 0.5802 MB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.004736, allocations: 0 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.004769, allocations: 11.86 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.005071, allocations: 37.25 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.00525, allocations: 51.81 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.005424, allocations: 124.6 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.005545, allocations: 12.22 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.005798, allocations: 77.41 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.005932, allocations: 47.86 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.502e-05/0.005967, allocations: 12 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.006036, allocations: 16 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.00608, allocations: 28.42 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.006155, allocations: 39.91 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.006401, allocations: 116.3 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.006406, allocations: 0 / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.719e-06/0.006411, allocations: 4.531 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.006416, allocations: 1.594 kB / 0.8135 GB, free: 15.3 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008749/0.007291, allocations: 436.5 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.007339, allocations: 12.03 kB / 0.814 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002293/0.007568, allocations: 25.52 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.007752, allocations: 137.1 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/0.007775, allocations: 8.359 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.007797, allocations: 13.19 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.007998, allocations: 90.11 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.008008, allocations: 1.562 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.008025, allocations: 4.375 kB / 0.8142 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.008032, allocations: 7.938 kB / 0.8142 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.008163, allocations: 49.72 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.008899, allocations: 363.5 kB / 0.8146 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.009259, allocations: 135.1 kB / 0.8148 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.009365, allocations: 53.83 kB / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.009387, allocations: 0 / 0.8148 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.009612, allocations: 115.1 kB / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.009614, allocations: 0 / 0.8149 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0004115/0.01003, allocations: 169.6 kB / 0.8151 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.01008, allocations: 59.34 kB / 0.8151 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.01027, allocations: 197.1 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.0103, allocations: 25.7 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.372e-05/0.01039, allocations: 142.8 kB / 0.8155 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.01045, allocations: 47.67 kB / 0.8155 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.578e-05/0.01052, allocations: 43.36 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002788/0.0108, allocations: 0.4962 MB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.01089, allocations: 39.92 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-05/0.01096, allocations: 34.48 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.01112, allocations: 89.05 kB / 0.8162 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.01113, allocations: 3.938 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002819/0.01141, allocations: 155 kB / 0.8164 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01142, allocations: 4.625 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.01143, allocations: 0 / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.01145, allocations: 4.562 kB / 0.8164 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.0116, allocations: 24.86 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.0116, allocations: 0 / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.573e-05/0.0117, allocations: 11.94 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.01172, allocations: 9.047 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (eqnTim.k,$PRE.eqnTim.k,eqnTim.tNext,$PRE.eqnTim.tNext,locTim.k,$PRE.locTim.k,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001566/0.01187, allocations: 174.9 kB / 0.8166 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.0119, allocations: 11.95 kB / 0.8166 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.01227, allocations: 171.6 kB / 0.8168 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01227, allocations: 4 kB / 0.8168 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01227, allocations: 0 / 0.8168 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01228, allocations: 0 / 0.8168 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006503/0.01293, allocations: 457.9 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01293, allocations: 0 / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.788e-05/0.01302, allocations: 16.92 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01302, allocations: 0 / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.01304, allocations: 8 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01304, allocations: 1.219 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01304, allocations: 0 / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.01345, allocations: 318.2 kB / 0.8175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.01347, allocations: 8.828 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.0135, allocations: 4 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.01361, allocations: 8.797 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.01368, allocations: 15.89 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.0137, allocations: 9.141 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001107/0.01381, allocations: 143.2 kB / 0.8177 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01381, allocations: 7.938 kB / 0.8177 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002659/0.01408, allocations: 25 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,locTim.tNext,locTim.k,eqnTim.tNext,eqnTim.k) * Number of discrete states: 4 (locTim.tNext,eqnTim.tNext,eqnTim.k,locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001834/0.01426, allocations: 112.3 kB / 0.8178 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002878/0.01455, allocations: 108.2 kB / 0.8179 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01455, allocations: 0 / 0.8179 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.01468, allocations: 71.53 kB / 0.818 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01492, allocations: 11.77 kB / 0.818 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005873/0.01551, allocations: 235.4 kB / 0.8182 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.01562, allocations: 89.95 kB / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.869e-05/0.01568, allocations: 11.86 kB / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.01574, allocations: 20.48 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01574, allocations: 3.938 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.005034/0.02078, allocations: 1.221 MB / 0.8196 GB, free: 8.824 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.306226680986583]