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.001982/0.001982, allocations: 80.39 kB / 20.23 MB, free: 4.316 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.002237/0.002237, allocations: 169.2 kB / 23.55 MB, free: 0.9922 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.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.586 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 2.901/2.901, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.603e-06/1.603e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.36e-05, allocations: 8.375 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003018/0.003052, allocations: 1.599 MB / 0.8124 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.004264, allocations: 0.5716 MB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.004315, allocations: 0 / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.594e-05/0.004351, allocations: 3.938 kB / 0.8129 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.004646, allocations: 44.91 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.004827, allocations: 49.41 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.005004, allocations: 123.5 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.005118, allocations: 12.23 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.00534, allocations: 80.52 kB / 0.8132 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.005468, allocations: 47.86 kB / 0.8133 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.005496, allocations: 8.531 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.262e-05/0.005569, allocations: 25.59 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.005603, allocations: 23.91 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.187e-05/0.005684, allocations: 35.91 kB / 0.8134 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00023/0.005915, allocations: 123.6 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.005919, allocations: 0 / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.00592, allocations: 0.6562 kB / 0.8135 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.005925, allocations: 1.094 kB / 0.8135 GB, free: 15.35 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.0008486/0.006774, allocations: 331.2 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.00681, allocations: 9.406 kB / 0.8138 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002177/0.007027, allocations: 36.77 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.007192, allocations: 129.6 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.007213, allocations: 10.11 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.007237, allocations: 8.375 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.007442, allocations: 96.92 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.007451, allocations: 192 / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.007466, allocations: 384 / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.007475, allocations: 10.31 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.00761, allocations: 47.97 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.008279, allocations: 296.4 kB / 0.8144 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.008626, allocations: 114.7 kB / 0.8145 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.008724, allocations: 50.75 kB / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.008743, allocations: 0 / 0.8146 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.009004, allocations: 107.3 kB / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.163e-06/0.009005, allocations: 0 / 0.8147 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0004234/0.009428, allocations: 169.5 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.009485, allocations: 55.91 kB / 0.8149 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.009629, allocations: 122.3 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.009658, allocations: 29.7 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.916e-05/0.009748, allocations: 105.9 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.0098, allocations: 39.67 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/0.009868, allocations: 37.7 kB / 0.8152 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000467/0.01033, allocations: 322.8 kB / 0.8155 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.01042, allocations: 35.98 kB / 0.8156 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.0105, allocations: 38.48 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.01065, allocations: 79.81 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.01066, allocations: 3.938 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002557/0.01091, allocations: 145.4 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.01093, allocations: 4 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01093, allocations: 0 / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.01095, allocations: 1.156 kB / 0.8158 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01109, allocations: 23.98 kB / 0.8158 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.01109, allocations: 4 kB / 0.8159 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.01121, allocations: 12.61 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.01123, allocations: 12 kB / 0.8159 GB, free: 12.76 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.0001262/0.01135, allocations: 129.1 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.01139, allocations: 15.95 kB / 0.816 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003303/0.01172, allocations: 159.9 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.01172, allocations: 0 / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01172, allocations: 0 / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.01173, allocations: 3.984 kB / 0.8162 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006003/0.01233, allocations: 395.5 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01233, allocations: 0.7188 kB / 0.8165 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/0.01243, allocations: 20.92 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01243, allocations: 3.938 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.01245, allocations: 4 kB / 0.8166 GB, free: 12 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01245, allocations: 5.125 kB / 0.8166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.01245, allocations: 3.938 kB / 0.8166 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.0128, allocations: 253.4 kB / 0.8168 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.01282, allocations: 17 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.01285, allocations: 4 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.01298, allocations: 9.016 kB / 0.8169 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.01305, allocations: 19.89 kB / 0.8169 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/0.01306, allocations: 11.97 kB / 0.8169 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.756e-05/0.01315, allocations: 100.1 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01315, allocations: 0 / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002605/0.01341, allocations: 24 kB / 0.817 GB, free: 11.55 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.0001621/0.01357, allocations: 109 kB / 0.8171 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.01381, allocations: 95.89 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.01381, allocations: 1.344 kB / 0.8172 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01392, allocations: 53.8 kB / 0.8173 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.01417, allocations: 14.62 kB / 0.8173 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.01469, allocations: 221.5 kB / 0.8175 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.0148, allocations: 93.64 kB / 0.8176 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.629e-05/0.01486, allocations: 12.97 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.258e-05/0.01492, allocations: 16.5 kB / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of SimCode: time 5.11e-07/0.01492, allocations: 0 / 0.8176 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of Templates: time 0.004459/0.01938, allocations: 1.224 MB / 0.8188 GB, free: 9.691 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1) [Timeout 400] 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: 7.920885800966062]