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.001376/0.001376, allocations: 103.8 kB / 16.45 MB, free: 6.504 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.001545/0.001545, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.039/3.039, allocations: 0.49 GB / 0.7916 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",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.003056/0.003056, allocations: 78.88 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3718, allocations: 176.1 MB / 1.321 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007658/0.3795, allocations: 4.999 MB / 1.326 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1942/0.5737, allocations: 154 MB / 1.476 GB, free: 3.699 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.5748, allocations: 23.81 kB / 1.476 GB, free: 3.676 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000702/0.5755, allocations: 198.2 kB / 1.476 GB, free: 3.48 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002034/0.5775, allocations: 0.5736 MB / 1.477 GB, free: 2.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.5797, allocations: 0.8785 MB / 1.478 GB, free: 2.035 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002122/0.5819, allocations: 1.456 MB / 1.479 GB, free: 0.5742 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008549/0.5827, allocations: 421.6 kB / 1.48 GB, free: 140 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009731/0.5837, allocations: 0.5334 MB / 1.48 GB, free: 15.6 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007128/0.5844, allocations: 0.5306 MB / 1.481 GB, free: 15.07 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.5846, allocations: 120 kB / 1.481 GB, free: 14.95 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.5857, allocations: 0.5152 MB / 1.481 GB, free: 14.44 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.586, allocations: 307 kB / 1.481 GB, free: 14.14 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005738/0.5866, allocations: 0.5869 MB / 1.482 GB, free: 13.55 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.589, allocations: 1.72 MB / 1.484 GB, free: 11.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.589, allocations: 0 / 1.484 GB, free: 11.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.724e-06/0.589, allocations: 0 / 1.484 GB, free: 11.82 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.589, allocations: 0 / 1.484 GB, free: 11.82 MB / 1.186 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.003038/0.5921, allocations: 1.54 MB / 1.485 GB, free: 10.23 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5921, allocations: 15.98 kB / 1.485 GB, free: 10.21 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/0.5923, allocations: 135.6 kB / 1.485 GB, free: 10.07 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001797/0.5941, allocations: 263.9 kB / 1.486 GB, free: 9.812 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.5955, allocations: 0.794 MB / 1.486 GB, free: 8.977 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/0.5955, allocations: 66 kB / 1.486 GB, free: 8.91 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.5957, allocations: 80 kB / 1.487 GB, free: 8.832 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.5974, allocations: 0.9496 MB / 1.487 GB, free: 7.844 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.5974, allocations: 7.938 kB / 1.487 GB, free: 7.836 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/0.5975, allocations: 39.94 kB / 1.488 GB, free: 7.797 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.5975, allocations: 20 kB / 1.488 GB, free: 7.777 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.5995, allocations: 1.132 MB / 1.489 GB, free: 6.641 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.6041, allocations: 2.791 MB / 1.491 GB, free: 3.723 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.6058, allocations: 0.859 MB / 1.492 GB, free: 2.836 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000596/0.6063, allocations: 290.7 kB / 1.492 GB, free: 2.547 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.733e-05/0.6064, allocations: 32.67 kB / 1.493 GB, free: 2.516 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.6074, allocations: 0.5201 MB / 1.493 GB, free: 1.98 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.995e-06/0.6075, allocations: 4 kB / 1.493 GB, free: 1.977 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003713/0.6112, allocations: 1.263 MB / 1.494 GB, free: 0.6914 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.6113, allocations: 192.9 kB / 1.494 GB, free: 468 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.6124, allocations: 0.6685 MB / 1.495 GB, free: 15.78 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001039/0.6125, allocations: 41.7 kB / 1.495 GB, free: 15.73 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.6129, allocations: 417 kB / 1.496 GB, free: 15.32 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.6132, allocations: 289.6 kB / 1.496 GB, free: 15.04 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/0.6135, allocations: 154.6 kB / 1.496 GB, free: 14.88 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002336/0.6137, allocations: 390.7 kB / 1.496 GB, free: 14.49 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005504/0.6142, allocations: 253.9 kB / 1.497 GB, free: 14.24 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.6149, allocations: 379.4 kB / 1.497 GB, free: 13.84 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.6162, allocations: 0.6172 MB / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6162, allocations: 0 / 1.498 GB, free: 13.21 MB / 1.201 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002142/0.6183, allocations: 0.8336 MB / 1.498 GB, free: 12.36 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.6183, allocations: 18.11 kB / 1.498 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.6183, allocations: 3.938 kB / 1.498 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/0.619, allocations: 84.83 kB / 1.498 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.6196, allocations: 163.8 kB / 1.499 GB, free: 12.1 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.6219, allocations: 1.638 MB / 1.5 GB, free: 10.31 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008217/0.6227, allocations: 91.58 kB / 1.5 GB, free: 10.22 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-05/0.6228, allocations: 35.91 kB / 1.5 GB, free: 10.19 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.0005119/0.6233, allocations: 273.8 kB / 1.501 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.6235, allocations: 99.38 kB / 1.501 GB, free: 9.812 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.6262, allocations: 1.136 MB / 1.502 GB, free: 8.66 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.6262, allocations: 12 kB / 1.502 GB, free: 8.648 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.6262, allocations: 4 kB / 1.502 GB, free: 8.645 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.6262, allocations: 3.984 kB / 1.502 GB, free: 8.641 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003727/0.63, allocations: 2.037 MB / 1.504 GB, free: 6.539 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.63, allocations: 4 kB / 1.504 GB, free: 6.535 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006162/0.6306, allocations: 147.8 kB / 1.504 GB, free: 6.391 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.631, allocations: 76.78 kB / 1.504 GB, free: 6.312 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.735e-05/0.6311, allocations: 31.97 kB / 1.504 GB, free: 6.281 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.6332, allocations: 1.658 MB / 1.506 GB, free: 4.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6332, allocations: 4.062 kB / 1.506 GB, free: 4.477 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002322/0.6356, allocations: 1.053 MB / 1.507 GB, free: 3.406 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004938/0.636, allocations: 284.2 kB / 1.507 GB, free: 3.109 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.6362, allocations: 31.89 kB / 1.507 GB, free: 3.078 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.6369, allocations: 70.53 kB / 1.507 GB, free: 3.012 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.6371, allocations: 76.89 kB / 1.507 GB, free: 2.938 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.6371, allocations: 43.97 kB / 1.507 GB, free: 2.895 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006992/0.6378, allocations: 483 kB / 1.508 GB, free: 2.43 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6378, allocations: 0 / 1.508 GB, free: 2.43 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001023/0.6389, allocations: 339 kB / 1.508 GB, free: 2.098 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.004609/0.6435, allocations: 2.117 MB / 1.51 GB, free: 136 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.6454, allocations: 0.8077 MB / 1.511 GB, free: 15.31 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6454, allocations: 0 / 1.511 GB, free: 15.31 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6464, allocations: 0.5199 MB / 1.511 GB, free: 14.78 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.6478, allocations: 302.4 kB / 1.512 GB, free: 14.5 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.6592, allocations: 6.503 MB / 1.518 GB, free: 7.84 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007299/0.6599, allocations: 1.036 MB / 1.519 GB, free: 6.773 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009001/0.6608, allocations: 275 kB / 1.519 GB, free: 6.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006281/0.6615, allocations: 407.3 kB / 1.52 GB, free: 6.102 MB / 1.217 GB Notification: Performance of SimCode: time 7.32e-07/0.6615, allocations: 3.938 kB / 1.52 GB, free: 6.098 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07669/0.7382, allocations: 22.68 MB / 1.542 GB, free: 15.71 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/14.11, allocations: 12.12 kB / 1.542 GB, free: 15.71 MB / 1.248 GB " [Timeout remaining time 286] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] 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: 20.65631979610771]