Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.4 MB, free: 3.129 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 443.5 MB / 0.7304 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 63.91 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3412, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007687/0.3488, allocations: 5.004 MB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8478/1.197, allocations: 151.2 MB / 1.369 GB, free: 2.023 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008037/1.197, allocations: 15.94 kB / 1.369 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007471/1.198, allocations: 188.5 kB / 1.369 GB, free: 1.898 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/1.2, allocations: 0.5632 MB / 1.369 GB, free: 1.578 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002124/1.202, allocations: 0.8826 MB / 1.37 GB, free: 1.121 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001851/1.204, allocations: 1.432 MB / 1.372 GB, free: 396 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/1.205, allocations: 416.9 kB / 1.372 GB, free: 132 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007529/1.206, allocations: 0.4988 MB / 1.373 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006409/1.206, allocations: 0.5223 MB / 1.373 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/1.207, allocations: 123 kB / 1.373 GB, free: 15.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009813/1.208, allocations: 488.2 kB / 1.374 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003149/1.208, allocations: 311.6 kB / 1.374 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005675/1.208, allocations: 0.5708 MB / 1.374 GB, free: 14.91 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/1.211, allocations: 1.677 MB / 1.376 GB, free: 14.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/1.211, allocations: 1.156 kB / 1.376 GB, free: 14.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/1.211, allocations: 0 / 1.376 GB, free: 14.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.988e-05/1.211, allocations: 0 / 1.376 GB, free: 14.2 MB / 1.061 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.003275/1.214, allocations: 1.501 MB / 1.378 GB, free: 13.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.214, allocations: 10.22 kB / 1.378 GB, free: 13.18 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/1.215, allocations: 195.1 kB / 1.378 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001344/1.216, allocations: 0.7793 MB / 1.379 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/1.216, allocations: 64.88 kB / 1.379 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/1.216, allocations: 82.55 kB / 1.379 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/1.218, allocations: 0.949 MB / 1.38 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.218, allocations: 1.594 kB / 1.38 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/1.218, allocations: 36.53 kB / 1.38 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/1.218, allocations: 21.12 kB / 1.38 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/1.22, allocations: 1.132 MB / 1.381 GB, free: 11.75 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/1.225, allocations: 2.738 MB / 1.383 GB, free: 9.555 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/1.227, allocations: 0.868 MB / 1.384 GB, free: 9.055 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005811/1.227, allocations: 284.8 kB / 1.385 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/1.227, allocations: 36.08 kB / 1.385 GB, free: 8.895 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009698/1.228, allocations: 0.5167 MB / 1.385 GB, free: 8.562 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 2.715e-06/1.228, allocations: 0 / 1.385 GB, free: 8.562 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.003694/1.232, allocations: 1.263 MB / 1.386 GB, free: 7.875 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/1.232, allocations: 194.3 kB / 1.387 GB, free: 7.652 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.233, allocations: 0.6373 MB / 1.387 GB, free: 7.277 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.443e-05/1.233, allocations: 47.64 kB / 1.387 GB, free: 7.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/1.234, allocations: 408.5 kB / 1.388 GB, free: 6.871 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/1.234, allocations: 292.8 kB / 1.388 GB, free: 6.617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002954/1.234, allocations: 175.6 kB / 1.388 GB, free: 6.512 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002329/1.234, allocations: 392.9 kB / 1.388 GB, free: 6.137 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/1.235, allocations: 273 kB / 1.389 GB, free: 6.004 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/1.236, allocations: 389.7 kB / 1.389 GB, free: 5.777 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/1.237, allocations: 0.6345 MB / 1.39 GB, free: 5.434 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.237, allocations: 0 / 1.39 GB, free: 5.434 MB / 1.061 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002279/1.239, allocations: 0.8852 MB / 1.391 GB, free: 4.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.239, allocations: 9.062 kB / 1.391 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.239, allocations: 1.062 kB / 1.391 GB, free: 4.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007135/1.24, allocations: 89.48 kB / 1.391 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/1.241, allocations: 167.1 kB / 1.391 GB, free: 4.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/1.243, allocations: 1.629 MB / 1.392 GB, free: 3.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/1.245, allocations: 102.2 kB / 1.392 GB, free: 3.227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/1.245, allocations: 35.62 kB / 1.393 GB, free: 3.215 MB / 1.061 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.0005613/1.245, allocations: 275.7 kB / 1.393 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/1.245, allocations: 93.02 kB / 1.393 GB, free: 2.945 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/1.248, allocations: 1.139 MB / 1.394 GB, free: 2.316 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.248, allocations: 14.94 kB / 1.394 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/1.248, allocations: 0 / 1.394 GB, free: 2.312 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.248, allocations: 3.984 kB / 1.394 GB, free: 2.309 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/1.252, allocations: 2.022 MB / 1.396 GB, free: 0.9766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.252, allocations: 4 kB / 1.396 GB, free: 0.9727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/1.253, allocations: 155 kB / 1.396 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004451/1.253, allocations: 73.5 kB / 1.396 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/1.253, allocations: 38.94 kB / 1.396 GB, free: 0.8711 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/1.255, allocations: 1.652 MB / 1.398 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.255, allocations: 0 / 1.398 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/1.257, allocations: 1.06 MB / 1.399 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004571/1.258, allocations: 282.8 kB / 1.399 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.258, allocations: 16.44 kB / 1.399 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006868/1.259, allocations: 66.23 kB / 1.399 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/1.259, allocations: 76.73 kB / 1.399 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.741e-05/1.259, allocations: 42.09 kB / 1.399 GB, free: 14.31 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005872/1.259, allocations: 471.1 kB / 1.4 GB, free: 14.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.259, allocations: 0 / 1.4 GB, free: 14.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001003/1.26, allocations: 339.2 kB / 1.4 GB, free: 13.94 MB / 1.076 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.001956/1.262, allocations: 0.6155 MB / 1.401 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00179/1.264, allocations: 0.8398 MB / 1.402 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.264, allocations: 2.344 kB / 1.402 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009228/1.265, allocations: 0.5057 MB / 1.402 GB, free: 12.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1.266, allocations: 305.2 kB / 1.402 GB, free: 12.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/1.27, allocations: 1.745 MB / 1.404 GB, free: 11.71 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/1.27, allocations: 1.035 MB / 1.405 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008928/1.271, allocations: 272.1 kB / 1.405 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/1.272, allocations: 117.5 kB / 1.405 GB, free: 10.68 MB / 1.076 GB Notification: Performance of SimCode: time 1.192e-06/1.272, allocations: 0 / 1.405 GB, free: 10.68 MB / 1.076 GB Notification: Performance of Templates: time 0.03224/1.304, allocations: 16.1 MB / 1.421 GB, free: 13.25 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 300] (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.743982539512217]