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.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.001768/0.001768, allocations: 105.8 kB / 16.45 MB, free: 6.445 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.002036/0.002036, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.869/2.869, allocations: 497.2 MB / 0.7812 GB, free: 12.15 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 67.89 kB / 1.134 GB, free: 13.21 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9391/0.9413, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005046/0.9464, allocations: 4.958 MB / 1.309 GB, free: 28.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1833/1.13, allocations: 151.1 MB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/1.131, allocations: 16 kB / 1.456 GB, free: 14.79 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007301/1.131, allocations: 196.8 kB / 1.457 GB, free: 14.66 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/1.134, allocations: 0.5565 MB / 1.457 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/1.136, allocations: 0.854 MB / 1.458 GB, free: 13.86 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00239/1.139, allocations: 1.438 MB / 1.459 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009348/1.139, allocations: 424.9 kB / 1.46 GB, free: 12.86 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/1.141, allocations: 0.5078 MB / 1.46 GB, free: 12.61 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/1.142, allocations: 0.5244 MB / 1.461 GB, free: 12.33 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/1.142, allocations: 118.3 kB / 1.461 GB, free: 12.33 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001564/1.143, allocations: 488.8 kB / 1.461 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000441/1.144, allocations: 308.5 kB / 1.462 GB, free: 12.02 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009073/1.145, allocations: 0.5789 MB / 1.462 GB, free: 11.63 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/1.148, allocations: 1.665 MB / 1.464 GB, free: 10.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/1.148, allocations: 4.453 kB / 1.464 GB, free: 10.92 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.354e-06/1.148, allocations: 5.438 kB / 1.464 GB, free: 10.92 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.183e-05/1.148, allocations: 0 / 1.464 GB, free: 10.92 MB / 1.154 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.003863/1.152, allocations: 1.503 MB / 1.465 GB, free: 9.895 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.152, allocations: 8.719 kB / 1.465 GB, free: 9.895 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002449/1.153, allocations: 139.5 kB / 1.465 GB, free: 9.801 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/1.154, allocations: 196.9 kB / 1.466 GB, free: 9.73 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/1.156, allocations: 0.7869 MB / 1.466 GB, free: 9.215 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.157e-05/1.156, allocations: 62.56 kB / 1.466 GB, free: 9.188 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.156, allocations: 84.78 kB / 1.467 GB, free: 9.16 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/1.158, allocations: 0.9485 MB / 1.467 GB, free: 8.727 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.158, allocations: 1.094 kB / 1.467 GB, free: 8.727 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001112/1.158, allocations: 37.28 kB / 1.467 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.111e-05/1.158, allocations: 25.66 kB / 1.468 GB, free: 8.695 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.16, allocations: 1.132 MB / 1.469 GB, free: 8.191 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005262/1.165, allocations: 2.796 MB / 1.471 GB, free: 5.93 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/1.167, allocations: 0.8582 MB / 1.472 GB, free: 5.438 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005792/1.168, allocations: 295.9 kB / 1.472 GB, free: 5.281 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.36e-05/1.168, allocations: 35.31 kB / 1.473 GB, free: 5.262 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009783/1.169, allocations: 0.5217 MB / 1.473 GB, free: 4.926 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 2.304e-06/1.169, allocations: 0 / 1.473 GB, free: 4.926 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.003683/1.173, allocations: 1.259 MB / 1.474 GB, free: 4.25 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/1.173, allocations: 198.3 kB / 1.474 GB, free: 4.02 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.174, allocations: 0.6387 MB / 1.475 GB, free: 3.648 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.174, allocations: 46.8 kB / 1.475 GB, free: 3.602 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/1.174, allocations: 410.1 kB / 1.475 GB, free: 3.242 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/1.175, allocations: 287.7 kB / 1.476 GB, free: 2.992 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/1.175, allocations: 155.2 kB / 1.476 GB, free: 2.898 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002282/1.175, allocations: 389.9 kB / 1.476 GB, free: 2.527 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005672/1.176, allocations: 254.9 kB / 1.477 GB, free: 2.406 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006956/1.176, allocations: 379.3 kB / 1.477 GB, free: 2.16 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.178, allocations: 0.615 MB / 1.477 GB, free: 1.824 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.178, allocations: 1.219 kB / 1.478 GB, free: 1.824 MB / 1.154 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002244/1.18, allocations: 0.8409 MB / 1.478 GB, free: 1.387 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.18, allocations: 9.5 kB / 1.478 GB, free: 1.383 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.18, allocations: 2.25 kB / 1.478 GB, free: 1.383 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/1.181, allocations: 88.42 kB / 1.478 GB, free: 1.336 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/1.181, allocations: 159.5 kB / 1.479 GB, free: 1.297 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.184, allocations: 1.634 MB / 1.48 GB, free: 15.69 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/1.185, allocations: 96.06 kB / 1.48 GB, free: 15.62 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.185, allocations: 37.25 kB / 1.48 GB, free: 15.61 MB / 1.17 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.0006155/1.186, allocations: 263.5 kB / 1.481 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/1.186, allocations: 93.48 kB / 1.481 GB, free: 15.35 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00269/1.189, allocations: 1.142 MB / 1.482 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.189, allocations: 9.688 kB / 1.482 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.189, allocations: 1.125 kB / 1.482 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/1.189, allocations: 3.984 kB / 1.482 GB, free: 14.71 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/1.193, allocations: 2.027 MB / 1.484 GB, free: 13.38 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/1.193, allocations: 4 kB / 1.484 GB, free: 13.37 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006734/1.193, allocations: 154.9 kB / 1.484 GB, free: 13.34 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004577/1.194, allocations: 65.95 kB / 1.484 GB, free: 13.3 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/1.194, allocations: 34 kB / 1.484 GB, free: 13.28 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/1.196, allocations: 1.661 MB / 1.486 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.196, allocations: 1 kB / 1.486 GB, free: 11.66 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/1.199, allocations: 1.054 MB / 1.487 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/1.199, allocations: 291 kB / 1.487 GB, free: 10.81 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002005/1.2, allocations: 18.81 kB / 1.487 GB, free: 10.8 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007602/1.2, allocations: 68.11 kB / 1.487 GB, free: 10.77 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.201, allocations: 81.42 kB / 1.487 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/1.201, allocations: 39.94 kB / 1.487 GB, free: 10.71 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007415/1.201, allocations: 470.3 kB / 1.488 GB, free: 10.44 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.201, allocations: 0 / 1.488 GB, free: 10.44 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001252/1.203, allocations: 336.8 kB / 1.488 GB, free: 10.34 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.004552/1.207, allocations: 2.104 MB / 1.49 GB, free: 8.445 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001937/1.209, allocations: 0.8116 MB / 1.491 GB, free: 7.621 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.209, allocations: 0 / 1.491 GB, free: 7.621 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.21, allocations: 0.5121 MB / 1.491 GB, free: 7.098 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/1.212, allocations: 311 kB / 1.492 GB, free: 6.816 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/1.223, allocations: 6.42 MB / 1.498 GB, free: 244 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007611/1.224, allocations: 1.037 MB / 1.499 GB, free: 15.17 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001011/1.225, allocations: 270.9 kB / 1.499 GB, free: 14.9 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/1.226, allocations: 395.3 kB / 1.499 GB, free: 14.52 MB / 1.186 GB Notification: Performance of SimCode: time 1.001e-06/1.226, allocations: 0 / 1.499 GB, free: 14.52 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06482/1.291, allocations: 22.41 MB / 1.521 GB, free: 8.41 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.74, allocations: 9.484 kB / 1.521 GB, free: 8.402 MB / 1.201 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_2/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.22819131379947]