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.001895/0.001895, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002608/0.002608, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 0.4892 GB / 0.7951 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 66.91 kB / 1.154 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3236, allocations: 176.1 MB / 1.326 GB, free: 1.883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002952/0.3265, allocations: 1.59 MB / 1.328 GB, free: 292 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3277, allocations: 0.561 MB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.115e-05/0.3278, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.3278, allocations: 7.922 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002602/0.3281, allocations: 43.7 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.3283, allocations: 47.88 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.3284, allocations: 107.6 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3285, allocations: 19.92 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.3287, allocations: 55.83 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3288, allocations: 51.77 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.3288, allocations: 11.94 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.125e-05/0.3289, allocations: 16 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.138e-05/0.3289, allocations: 23.97 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.972e-05/0.329, allocations: 39.78 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002078/0.3292, allocations: 95.62 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3292, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3292, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3292, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007914/0.33, allocations: 330 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.33, allocations: 12.03 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.3302, allocations: 20.88 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3304, allocations: 134.3 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.3304, allocations: 4.375 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.3304, allocations: 12.31 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3306, allocations: 88.62 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3306, allocations: 4 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3307, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3307, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.3308, allocations: 47.91 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3313, allocations: 272.4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003002/0.3316, allocations: 98.66 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.3317, allocations: 36.84 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.3317, allocations: 3.984 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.3319, allocations: 103.3 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.3319, allocations: 0 / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003679/0.3323, allocations: 153.8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.3324, allocations: 55.41 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.3325, allocations: 125.9 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.3325, allocations: 29.7 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.3326, allocations: 96.31 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.3326, allocations: 31.88 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.3327, allocations: 25.72 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3329, allocations: 326.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.712e-05/0.3329, allocations: 27.98 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.014e-05/0.333, allocations: 27.98 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.3331, allocations: 60.84 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3331, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002071/0.3333, allocations: 124.9 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3333, allocations: 8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3333, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.3333, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3335, allocations: 23.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3335, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.3336, allocations: 15.88 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.3336, allocations: 4 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,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 (13): * Single equations (assignments): 13 * 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.0001192/0.3337, allocations: 126.2 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.3337, allocations: 11.89 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.334, allocations: 146 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.334, allocations: 7.984 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.334, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.334, allocations: 0 / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3342, allocations: 145.2 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3342, allocations: 0 / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.3343, allocations: 19.94 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3343, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.3343, allocations: 3.984 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3343, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3343, allocations: 8 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.3346, allocations: 168.9 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.3346, allocations: 11.89 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3346, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3347, allocations: 11.98 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.3348, allocations: 7.984 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3348, allocations: 7.984 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.345e-05/0.3349, allocations: 99.27 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3349, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002148/0.3351, allocations: 27.94 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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 0.0001199/0.3352, allocations: 111.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.3354, allocations: 79.91 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.614e-06/0.3354, allocations: 3.938 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.3355, allocations: 47.97 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.3357, allocations: 8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.3361, allocations: 234.8 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.413e-05/0.3362, allocations: 87.19 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.3363, allocations: 15.42 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3363, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of Templates: time 0.003084/0.3394, allocations: 1.31 MB / 1.334 GB, free: 9.973 MB / 1.029 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/jenkins1/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: 10.955158867873251]