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.001599/0.001599, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00145/0.00145, allocations: 217.4 kB / 23.03 MB, free: 4.922 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.106/3.106, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.001932/0.001932, allocations: 66.36 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006538/0.3206, allocations: 4.488 MB / 1.35 GB, free: 11.44 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1586/0.4792, allocations: 132.6 MB / 1.479 GB, free: 6.297 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008714/0.48, allocations: 23.81 kB / 1.479 GB, free: 6.273 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000826/0.4809, allocations: 198.2 kB / 1.479 GB, free: 6.078 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.4829, allocations: 0.5781 MB / 1.48 GB, free: 5.5 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.4852, allocations: 0.8738 MB / 1.481 GB, free: 4.633 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.4871, allocations: 1.464 MB / 1.482 GB, free: 3.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008711/0.488, allocations: 418.2 kB / 1.483 GB, free: 2.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009048/0.4889, allocations: 0.5295 MB / 1.483 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.4897, allocations: 0.529 MB / 1.484 GB, free: 1.668 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.49, allocations: 124 kB / 1.484 GB, free: 1.547 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.4911, allocations: 0.4996 MB / 1.484 GB, free: 1.047 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003727/0.4915, allocations: 315 kB / 1.485 GB, free: 0.7383 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006949/0.4922, allocations: 481.7 kB / 1.485 GB, free: 272 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.4947, allocations: 1.732 MB / 1.487 GB, free: 14.53 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4947, allocations: 0 / 1.487 GB, free: 14.53 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4947, allocations: 4 kB / 1.487 GB, free: 14.52 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.92e-05/0.4948, allocations: 0 / 1.487 GB, free: 14.52 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.003207/0.498, allocations: 1.468 MB / 1.488 GB, free: 13.02 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.498, allocations: 8.031 kB / 1.488 GB, free: 13.01 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.699e-05/0.4981, allocations: 26.19 kB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002004/0.4983, allocations: 135.6 kB / 1.488 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.5001, allocations: 252 kB / 1.489 GB, free: 12.6 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.5016, allocations: 0.7256 MB / 1.489 GB, free: 11.85 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.5016, allocations: 62 kB / 1.489 GB, free: 11.79 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.5018, allocations: 87.98 kB / 1.489 GB, free: 11.7 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.5038, allocations: 1.193 MB / 1.491 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.5038, allocations: 0 / 1.491 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5039, allocations: 40 kB / 1.491 GB, free: 10.37 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.504, allocations: 27.94 kB / 1.491 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.506, allocations: 1.128 MB / 1.492 GB, free: 9.211 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004494/0.5105, allocations: 2.255 MB / 1.494 GB, free: 6.891 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00161/0.5121, allocations: 0.7922 MB / 1.495 GB, free: 6.086 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.5126, allocations: 286.7 kB / 1.495 GB, free: 5.805 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.318e-05/0.5127, allocations: 24.62 kB / 1.495 GB, free: 5.781 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.5137, allocations: 0.6283 MB / 1.496 GB, free: 5.113 MB / 1.186 GB Notification: Performance of pre-optimization done (n=85): time 2.806e-06/0.5137, allocations: 0 / 1.496 GB, free: 5.113 MB / 1.186 GB Notification: Performance of matching and sorting (n=85): time 0.003474/0.5172, allocations: 1.18 MB / 1.497 GB, free: 3.922 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.5173, allocations: 204.8 kB / 1.497 GB, free: 3.68 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009783/0.5183, allocations: 0.6607 MB / 1.498 GB, free: 3.008 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.5184, allocations: 41.7 kB / 1.498 GB, free: 2.961 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.5188, allocations: 425.1 kB / 1.498 GB, free: 2.539 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/0.5191, allocations: 277.6 kB / 1.498 GB, free: 2.266 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.5193, allocations: 158.6 kB / 1.498 GB, free: 2.105 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.5195, allocations: 390.8 kB / 1.499 GB, free: 1.715 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000538/0.5201, allocations: 253.9 kB / 1.499 GB, free: 1.465 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.5208, allocations: 0.4921 MB / 1.5 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.5219, allocations: 0.6133 MB / 1.5 GB, free: 292 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5219, allocations: 0 / 1.5 GB, free: 292 kB / 1.186 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002089/0.524, allocations: 0.853 MB / 1.501 GB, free: 15.42 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.524, allocations: 4.125 kB / 1.501 GB, free: 15.42 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.5241, allocations: 4 kB / 1.501 GB, free: 15.41 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006524/0.5247, allocations: 88.69 kB / 1.501 GB, free: 15.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.5254, allocations: 167.7 kB / 1.501 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/0.5276, allocations: 1.515 MB / 1.503 GB, free: 13.52 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008289/0.5284, allocations: 95.41 kB / 1.503 GB, free: 13.43 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.514e-05/0.5285, allocations: 35.97 kB / 1.503 GB, free: 13.39 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.0004836/0.529, allocations: 273.6 kB / 1.503 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.5292, allocations: 95.42 kB / 1.503 GB, free: 13.02 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002628/0.5319, allocations: 1.14 MB / 1.504 GB, free: 11.87 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.5319, allocations: 12 kB / 1.504 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5319, allocations: 4 kB / 1.504 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5319, allocations: 3.984 kB / 1.504 GB, free: 11.85 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003512/0.5354, allocations: 1.88 MB / 1.506 GB, free: 9.918 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.5354, allocations: 3.938 kB / 1.506 GB, free: 9.914 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.536, allocations: 151.8 kB / 1.506 GB, free: 9.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.5365, allocations: 76.78 kB / 1.506 GB, free: 9.688 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/0.5366, allocations: 31.97 kB / 1.506 GB, free: 9.656 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.5385, allocations: 1.539 MB / 1.508 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5385, allocations: 0 / 1.508 GB, free: 7.996 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.5408, allocations: 1.061 MB / 1.509 GB, free: 6.914 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.5413, allocations: 219 kB / 1.509 GB, free: 6.699 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.5414, allocations: 24 kB / 1.509 GB, free: 6.676 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/0.5421, allocations: 70.45 kB / 1.509 GB, free: 6.609 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.5423, allocations: 80.84 kB / 1.509 GB, free: 6.531 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.5424, allocations: 35.98 kB / 1.509 GB, free: 6.496 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006786/0.5431, allocations: 494.9 kB / 1.51 GB, free: 6.02 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5431, allocations: 0 / 1.51 GB, free: 6.02 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009425/0.544, allocations: 331.2 kB / 1.51 GB, free: 5.695 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.004455/0.5485, allocations: 2.144 MB / 1.512 GB, free: 3.73 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001837/0.5503, allocations: 0.8194 MB / 1.513 GB, free: 2.902 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5503, allocations: 0 / 1.513 GB, free: 2.902 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5513, allocations: 0.5121 MB / 1.514 GB, free: 2.379 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.5527, allocations: 299.8 kB / 1.514 GB, free: 2.105 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01119/0.5639, allocations: 6.499 MB / 1.52 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.5644, allocations: 449.4 kB / 1.521 GB, free: 10.98 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009129/0.5653, allocations: 290.9 kB / 1.521 GB, free: 10.69 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.566, allocations: 407.2 kB / 1.521 GB, free: 10.29 MB / 1.217 GB Notification: Performance of SimCode: time 9.82e-07/0.566, allocations: 0 / 1.521 GB, free: 10.29 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05834/0.6243, allocations: 24.03 MB / 1.545 GB, free: 2.582 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/15.41, allocations: 4.062 kB / 1.545 GB, free: 2.578 MB / 1.232 GB " [Timeout remaining time 284] (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: 22.22697110392619]