Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.002038/0.002038, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002257/0.002257, allocations: 156 kB / 23.01 MB, free: 4.605 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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 2.854/2.854, allocations: 377.9 MB / 0.6228 GB, free: 12.53 MB / 0.5919 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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [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.002327/0.002327, allocations: 63.89 kB / 0.9819 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8285, allocations: 176.1 MB / 1.154 GB, free: 33.29 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005199/0.8337, allocations: 4.494 MB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1757/1.009, allocations: 132.7 MB / 1.288 GB, free: 4.824 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008868/1.01, allocations: 23.19 kB / 1.288 GB, free: 4.812 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008386/1.011, allocations: 200.6 kB / 1.288 GB, free: 4.676 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002361/1.014, allocations: 0.5808 MB / 1.289 GB, free: 4.328 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/1.016, allocations: 0.8707 MB / 1.29 GB, free: 3.852 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002286/1.018, allocations: 1.462 MB / 1.291 GB, free: 3.09 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000874/1.019, allocations: 399.8 kB / 1.291 GB, free: 2.855 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000969/1.02, allocations: 0.5323 MB / 1.292 GB, free: 2.594 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007495/1.021, allocations: 489.8 kB / 1.292 GB, free: 2.367 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001806/1.021, allocations: 120.2 kB / 1.292 GB, free: 2.367 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/1.022, allocations: 496.1 kB / 1.293 GB, free: 2.254 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/1.023, allocations: 312.4 kB / 1.293 GB, free: 2.055 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005634/1.023, allocations: 481.2 kB / 1.294 GB, free: 1.777 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/1.026, allocations: 1.735 MB / 1.295 GB, free: 1.039 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.026, allocations: 0 / 1.295 GB, free: 1.039 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.703e-06/1.026, allocations: 0.5625 kB / 1.295 GB, free: 1.039 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.919e-05/1.026, allocations: 0 / 1.295 GB, free: 1.039 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002917/1.028, allocations: 1.451 MB / 1.297 GB, free: 96 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/1.029, allocations: 8.625 kB / 1.297 GB, free: 96 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/1.03, allocations: 249.4 kB / 1.297 GB, free: 24 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/1.032, allocations: 0.7314 MB / 1.298 GB, free: 15.56 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.381e-05/1.032, allocations: 69.77 kB / 1.298 GB, free: 15.52 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.032, allocations: 85.47 kB / 1.298 GB, free: 15.5 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.034, allocations: 1.2 MB / 1.299 GB, free: 14.6 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/1.034, allocations: 0 / 1.299 GB, free: 14.6 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/1.034, allocations: 37.25 kB / 1.299 GB, free: 14.57 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/1.034, allocations: 25.58 kB / 1.299 GB, free: 14.57 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/1.036, allocations: 1.077 MB / 1.3 GB, free: 14.04 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004242/1.04, allocations: 2.135 MB / 1.302 GB, free: 12.45 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/1.042, allocations: 0.7905 MB / 1.303 GB, free: 12.04 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005941/1.042, allocations: 294.5 kB / 1.303 GB, free: 11.88 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.89e-05/1.042, allocations: 24.17 kB / 1.303 GB, free: 11.87 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/1.044, allocations: 0.6219 MB / 1.304 GB, free: 11.41 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 3.256e-06/1.044, allocations: 0 / 1.304 GB, free: 11.41 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.003803/1.047, allocations: 1.182 MB / 1.305 GB, free: 10.82 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/1.047, allocations: 189.8 kB / 1.305 GB, free: 10.6 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009545/1.048, allocations: 0.6199 MB / 1.306 GB, free: 10.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.719e-05/1.049, allocations: 42.36 kB / 1.306 GB, free: 10.19 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/1.049, allocations: 414.9 kB / 1.306 GB, free: 9.828 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002882/1.049, allocations: 288.7 kB / 1.307 GB, free: 9.578 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/1.049, allocations: 175.1 kB / 1.307 GB, free: 9.473 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002668/1.05, allocations: 393.7 kB / 1.307 GB, free: 9.098 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005951/1.05, allocations: 277.1 kB / 1.307 GB, free: 8.961 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008834/1.051, allocations: 0.503 MB / 1.308 GB, free: 8.582 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.053, allocations: 0.6391 MB / 1.309 GB, free: 8.234 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.053, allocations: 0 / 1.309 GB, free: 8.234 MB / 1.154 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002308/1.055, allocations: 0.8812 MB / 1.309 GB, free: 7.789 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/1.055, allocations: 4.844 kB / 1.309 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.055, allocations: 1.188 kB / 1.309 GB, free: 7.789 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/1.056, allocations: 94.5 kB / 1.309 GB, free: 7.738 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007568/1.056, allocations: 171.3 kB / 1.31 GB, free: 7.695 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002394/1.059, allocations: 1.506 MB / 1.311 GB, free: 6.258 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/1.06, allocations: 93.12 kB / 1.311 GB, free: 6.199 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/1.06, allocations: 39.69 kB / 1.311 GB, free: 6.184 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005572/1.06, allocations: 276.4 kB / 1.311 GB, free: 5.969 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/1.06, allocations: 83.2 kB / 1.312 GB, free: 5.926 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.063, allocations: 1.136 MB / 1.313 GB, free: 5.289 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/1.063, allocations: 13.5 kB / 1.313 GB, free: 5.285 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.063, allocations: 4.906 kB / 1.313 GB, free: 5.281 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.063, allocations: 3.984 kB / 1.313 GB, free: 5.277 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/1.067, allocations: 1.77 MB / 1.314 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/1.067, allocations: 0 / 1.314 GB, free: 3.707 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006485/1.067, allocations: 155.7 kB / 1.315 GB, free: 3.555 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/1.068, allocations: 72.78 kB / 1.315 GB, free: 3.48 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/1.068, allocations: 23.98 kB / 1.315 GB, free: 3.457 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/1.07, allocations: 1.524 MB / 1.316 GB, free: 1.82 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.07, allocations: 3.938 kB / 1.316 GB, free: 1.816 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/1.072, allocations: 1.057 MB / 1.317 GB, free: 0.7383 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005074/1.073, allocations: 207 kB / 1.317 GB, free: 0.5352 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001614/1.073, allocations: 20 kB / 1.317 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007833/1.074, allocations: 70.27 kB / 1.317 GB, free: 460 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/1.074, allocations: 84.98 kB / 1.318 GB, free: 376 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/1.074, allocations: 39.97 kB / 1.318 GB, free: 336 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006933/1.075, allocations: 443 kB / 1.318 GB, free: 15.9 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.075, allocations: 0 / 1.318 GB, free: 15.9 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001162/1.076, allocations: 347.1 kB / 1.318 GB, free: 15.56 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/1.078, allocations: 0.6461 MB / 1.319 GB, free: 15.12 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002003/1.08, allocations: 0.8314 MB / 1.32 GB, free: 14.28 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.08, allocations: 0 / 1.32 GB, free: 14.28 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.081, allocations: 0.5197 MB / 1.32 GB, free: 13.75 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/1.083, allocations: 282 kB / 1.321 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/1.086, allocations: 1.739 MB / 1.322 GB, free: 11.72 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/1.087, allocations: 457.2 kB / 1.323 GB, free: 11.24 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0009199/1.088, allocations: 274.7 kB / 1.323 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.088, allocations: 116.4 kB / 1.323 GB, free: 10.86 MB / 1.17 GB Notification: Performance of SimCode: time 7.01e-07/1.088, allocations: 0 / 1.323 GB, free: 10.86 MB / 1.17 GB Notification: Performance of Templates: time 0.03054/1.119, allocations: 15.78 MB / 1.338 GB, free: 11.37 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.72801205900032]