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.001884/0.001884, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002505/0.002505, allocations: 214.7 kB / 22.24 MB, free: 4.855 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.789 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.35/3.35, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.003025/0.003025, allocations: 70.83 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4881, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.004005/0.4922, allocations: 1.598 MB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.4937, allocations: 0.5571 MB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001207/0.4938, allocations: 7.938 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.834e-05/0.4939, allocations: 7.922 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004106/0.4943, allocations: 39.7 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.4946, allocations: 47.89 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000239/0.4948, allocations: 107.6 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.495, allocations: 19.86 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.4952, allocations: 55.91 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.4953, allocations: 51.75 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.4954, allocations: 8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.594e-05/0.4954, allocations: 16 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.4955, allocations: 23.91 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.4956, allocations: 35.86 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.4958, allocations: 103.5 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.4958, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.395e-06/0.4958, allocations: 0 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.4958, allocations: 0 / 1.328 GB, free: 15.18 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.0008482/0.4967, allocations: 334 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.4967, allocations: 8.031 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.4969, allocations: 20.86 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.497, allocations: 130.4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.497, allocations: 4.375 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.4971, allocations: 8.375 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.4973, allocations: 88.06 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4973, allocations: 4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.4973, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4973, allocations: 0 / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.4974, allocations: 47.97 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.4979, allocations: 272.3 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.4982, allocations: 98.66 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.119e-05/0.4983, allocations: 40.84 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.4983, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/0.4986, allocations: 107.3 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.4986, allocations: 4 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.0003574/0.4989, allocations: 149.5 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.499, allocations: 59.41 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.4991, allocations: 121.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4991, allocations: 25.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.4992, allocations: 104.2 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.4992, allocations: 31.88 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.4993, allocations: 29.7 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.4995, allocations: 326.8 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.4995, allocations: 23.98 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.564e-05/0.4996, allocations: 34.73 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.4997, allocations: 64.84 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4997, allocations: 0 / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001957/0.4999, allocations: 113.6 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.4999, allocations: 8 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4999, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4999, allocations: 0 / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.5001, allocations: 15.98 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5001, allocations: 4 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.5002, allocations: 15.89 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.5002, allocations: 7.984 kB / 1.33 GB, free: 12.74 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.0001153/0.5003, allocations: 129.8 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.5003, allocations: 7.953 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.5006, allocations: 146 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5006, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5007, allocations: 0 / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5007, allocations: 3.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.5008, allocations: 137.2 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.5008, allocations: 3.984 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.5009, allocations: 15.94 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5009, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.5009, allocations: 4 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5009, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5009, allocations: 3.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.5012, allocations: 164.9 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.5012, allocations: 19.84 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.5013, allocations: 0 / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.5014, allocations: 11.98 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.5014, allocations: 7.984 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.5014, allocations: 11.97 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.397e-05/0.5015, allocations: 103.3 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5015, allocations: 0 / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000212/0.5017, allocations: 24 kB / 1.331 GB, free: 11.89 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.0001373/0.5019, allocations: 99.19 kB / 1.331 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.5021, allocations: 87.91 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5021, allocations: 0 / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.5022, allocations: 43.92 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.5023, allocations: 15.92 kB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.5029, allocations: 210.7 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.648e-05/0.5029, allocations: 83.19 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.98e-05/0.503, allocations: 12.48 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.5031, allocations: 15.44 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.5031, allocations: 3.938 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of Templates: time 0.004518/0.5076, allocations: 1.154 MB / 1.333 GB, free: 10.14 MB / 1.029 GB " [Timeout remaining time 299] 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: 9.659411808475852]