Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001768/0.001768, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002224/0.002224, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.888/2.888, allocations: 0.5003 GB / 0.8026 GB, free: 6.688 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",version="2.0",platforms={"static"}) [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.001917/0.001917, allocations: 73.25 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8817/0.8836, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006064/0.8897, allocations: 5.015 MB / 1.345 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1889/1.079, allocations: 154 MB / 1.495 GB, free: 8.207 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/1.08, allocations: 23.19 kB / 1.495 GB, free: 8.195 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000827/1.081, allocations: 198.5 kB / 1.496 GB, free: 8.02 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002504/1.084, allocations: 0.5711 MB / 1.496 GB, free: 7.594 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/1.086, allocations: 0.8832 MB / 1.497 GB, free: 6.922 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002122/1.088, allocations: 1.46 MB / 1.498 GB, free: 6.008 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007971/1.089, allocations: 432.8 kB / 1.499 GB, free: 5.602 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008995/1.09, allocations: 0.5217 MB / 1.499 GB, free: 5.078 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007212/1.091, allocations: 0.5387 MB / 1.5 GB, free: 4.539 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/1.091, allocations: 123.9 kB / 1.5 GB, free: 4.418 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/1.092, allocations: 0.5113 MB / 1.501 GB, free: 3.906 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/1.092, allocations: 315 kB / 1.501 GB, free: 3.598 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005895/1.093, allocations: 0.583 MB / 1.501 GB, free: 3.012 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00266/1.096, allocations: 1.716 MB / 1.503 GB, free: 1.289 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.096, allocations: 0 / 1.503 GB, free: 1.289 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.254e-06/1.096, allocations: 4 kB / 1.503 GB, free: 1.285 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.452e-05/1.096, allocations: 4 kB / 1.503 GB, free: 1.281 MB / 1.17 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.00315/1.099, allocations: 1.538 MB / 1.505 GB, free: 15.69 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.099, allocations: 8.031 kB / 1.505 GB, free: 15.68 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.16e-05/1.099, allocations: 22.19 kB / 1.505 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/1.099, allocations: 139.6 kB / 1.505 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/1.101, allocations: 248 kB / 1.505 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.102, allocations: 0.7996 MB / 1.506 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/1.102, allocations: 70 kB / 1.506 GB, free: 14.36 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/1.102, allocations: 84 kB / 1.506 GB, free: 14.28 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.104, allocations: 0.9456 MB / 1.507 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/1.104, allocations: 0 / 1.507 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.02e-05/1.104, allocations: 43.94 kB / 1.507 GB, free: 13.25 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/1.104, allocations: 20 kB / 1.507 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001912/1.106, allocations: 1.124 MB / 1.508 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004774/1.111, allocations: 2.793 MB / 1.511 GB, free: 9.191 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/1.113, allocations: 0.8715 MB / 1.512 GB, free: 8.301 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/1.113, allocations: 289.2 kB / 1.512 GB, free: 8.02 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.844e-05/1.113, allocations: 36.59 kB / 1.512 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/1.114, allocations: 0.5177 MB / 1.512 GB, free: 7.445 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.755e-06/1.114, allocations: 4 kB / 1.512 GB, free: 7.441 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003818/1.118, allocations: 1.267 MB / 1.514 GB, free: 6.152 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/1.118, allocations: 196.9 kB / 1.514 GB, free: 5.918 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/1.119, allocations: 0.6607 MB / 1.514 GB, free: 5.246 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/1.119, allocations: 45.7 kB / 1.515 GB, free: 5.195 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/1.12, allocations: 409.1 kB / 1.515 GB, free: 4.789 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/1.12, allocations: 293.5 kB / 1.515 GB, free: 4.5 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/1.12, allocations: 158.5 kB / 1.515 GB, free: 4.336 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.121, allocations: 390.7 kB / 1.516 GB, free: 3.945 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/1.121, allocations: 257.9 kB / 1.516 GB, free: 3.695 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008108/1.122, allocations: 375.4 kB / 1.516 GB, free: 3.301 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001297/1.123, allocations: 0.6172 MB / 1.517 GB, free: 2.668 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.123, allocations: 7.938 kB / 1.517 GB, free: 2.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0022/1.125, allocations: 0.8374 MB / 1.518 GB, free: 1.812 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.125, allocations: 8.125 kB / 1.518 GB, free: 1.805 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.125, allocations: 7.938 kB / 1.518 GB, free: 1.797 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006393/1.126, allocations: 80.77 kB / 1.518 GB, free: 1.715 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006758/1.127, allocations: 163.7 kB / 1.518 GB, free: 1.555 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002699/1.129, allocations: 1.631 MB / 1.52 GB, free: 15.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008587/1.13, allocations: 95.45 kB / 1.52 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/1.13, allocations: 31.98 kB / 1.52 GB, free: 15.65 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (93): * Single equations (assignments): 92 * 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.0005311/1.131, allocations: 271.9 kB / 1.52 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/1.131, allocations: 95.38 kB / 1.52 GB, free: 15.28 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/1.134, allocations: 1.136 MB / 1.521 GB, free: 14.13 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.134, allocations: 12 kB / 1.521 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/1.134, allocations: 0 / 1.521 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.134, allocations: 7.969 kB / 1.521 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/1.138, allocations: 2.04 MB / 1.523 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/1.138, allocations: 0 / 1.523 GB, free: 12.01 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/1.139, allocations: 163.7 kB / 1.523 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004731/1.139, allocations: 68.8 kB / 1.523 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.094e-05/1.139, allocations: 31.97 kB / 1.523 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/1.141, allocations: 1.65 MB / 1.525 GB, free: 9.953 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.141, allocations: 7.969 kB / 1.525 GB, free: 9.945 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/1.144, allocations: 1.057 MB / 1.526 GB, free: 8.871 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005464/1.144, allocations: 288.1 kB / 1.526 GB, free: 8.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.145, allocations: 20 kB / 1.526 GB, free: 8.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/1.145, allocations: 72.06 kB / 1.526 GB, free: 8.48 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/1.145, allocations: 76.88 kB / 1.527 GB, free: 8.402 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/1.146, allocations: 39.97 kB / 1.527 GB, free: 8.363 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007428/1.146, allocations: 487 kB / 1.527 GB, free: 7.895 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.146, allocations: 0 / 1.527 GB, free: 7.895 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001066/1.147, allocations: 339.1 kB / 1.527 GB, free: 7.562 MB / 1.201 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.004955/1.152, allocations: 2.116 MB / 1.529 GB, free: 5.594 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002015/1.154, allocations: 0.808 MB / 1.53 GB, free: 4.773 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.154, allocations: 0 / 1.53 GB, free: 4.773 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.00107/1.155, allocations: 0.508 MB / 1.531 GB, free: 4.258 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.157, allocations: 307.3 kB / 1.531 GB, free: 3.973 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01301/1.17, allocations: 6.509 MB / 1.537 GB, free: 13.31 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/1.171, allocations: 1.043 MB / 1.538 GB, free: 12.24 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009568/1.172, allocations: 271.1 kB / 1.539 GB, free: 11.97 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006799/1.172, allocations: 407.2 kB / 1.539 GB, free: 11.57 MB / 1.217 GB Notification: Performance of SimCode: time 1.233e-06/1.172, allocations: 4 kB / 1.539 GB, free: 11.57 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06363/1.236, allocations: 22.72 MB / 1.561 GB, free: 5.184 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.88/15.12, allocations: 6.641 kB / 1.561 GB, free: 5.18 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.699709929001983]