Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00156/0.00156, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001749/0.001749, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.353/1.353, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.682/2.682, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7071/0.709, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007704/0.7167, allocations: 4.978 MB / 1.274 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1658/0.8825, allocations: 151.1 MB / 1.421 GB, free: 8.52 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007552/0.8833, allocations: 15.94 kB / 1.421 GB, free: 8.504 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.884, allocations: 198.1 kB / 1.421 GB, free: 8.309 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001982/0.886, allocations: 0.5651 MB / 1.422 GB, free: 7.742 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.8881, allocations: 0.8575 MB / 1.423 GB, free: 6.891 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001899/0.89, allocations: 1.433 MB / 1.424 GB, free: 5.453 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008912/0.8908, allocations: 417.6 kB / 1.425 GB, free: 5.02 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008251/0.8917, allocations: 0.5138 MB / 1.425 GB, free: 4.504 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007043/0.8924, allocations: 0.529 MB / 1.426 GB, free: 3.973 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.8925, allocations: 116 kB / 1.426 GB, free: 3.859 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009472/0.8935, allocations: 483.6 kB / 1.426 GB, free: 3.387 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002948/0.8938, allocations: 311 kB / 1.426 GB, free: 3.082 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005727/0.8944, allocations: 0.5674 MB / 1.427 GB, free: 2.512 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.8965, allocations: 1.677 MB / 1.429 GB, free: 0.8281 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8965, allocations: 8 kB / 1.429 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.362e-06/0.8965, allocations: 0 / 1.429 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.8965, allocations: 0 / 1.429 GB, free: 0.8203 MB / 1.123 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.002866/0.8994, allocations: 1.505 MB / 1.43 GB, free: 15.26 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.8994, allocations: 12.03 kB / 1.43 GB, free: 15.25 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.8996, allocations: 139.6 kB / 1.43 GB, free: 15.11 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009284/0.9005, allocations: 196 kB / 1.43 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.9019, allocations: 0.7823 MB / 1.431 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.902, allocations: 66 kB / 1.431 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.9021, allocations: 84 kB / 1.431 GB, free: 13.94 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001661/0.9038, allocations: 0.9574 MB / 1.432 GB, free: 12.95 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.9038, allocations: 3.984 kB / 1.432 GB, free: 12.94 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.433e-05/0.9039, allocations: 36 kB / 1.432 GB, free: 12.91 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.9039, allocations: 20 kB / 1.432 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00182/0.9057, allocations: 1.132 MB / 1.433 GB, free: 11.75 MB / 1.139 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.004435/0.9102, allocations: 2.74 MB / 1.436 GB, free: 8.898 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.9117, allocations: 0.8646 MB / 1.437 GB, free: 8.004 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005416/0.9123, allocations: 290.7 kB / 1.437 GB, free: 7.715 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.9123, allocations: 32.69 kB / 1.437 GB, free: 7.684 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009051/0.9132, allocations: 0.5139 MB / 1.438 GB, free: 7.156 MB / 1.139 GB Notification: Performance of pre-optimization done (n=85): time 2.164e-06/0.9132, allocations: 0 / 1.438 GB, free: 7.156 MB / 1.139 GB Notification: Performance of matching and sorting (n=85): time 0.003305/0.9166, allocations: 1.267 MB / 1.439 GB, free: 5.863 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.9167, allocations: 192.9 kB / 1.439 GB, free: 5.633 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008624/0.9175, allocations: 0.6333 MB / 1.44 GB, free: 4.988 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-05/0.9176, allocations: 45.7 kB / 1.44 GB, free: 4.938 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.918, allocations: 417 kB / 1.44 GB, free: 4.523 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.9182, allocations: 289.6 kB / 1.44 GB, free: 4.238 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.9185, allocations: 154.6 kB / 1.441 GB, free: 4.082 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001897/0.9186, allocations: 386.7 kB / 1.441 GB, free: 3.695 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005096/0.9192, allocations: 261.8 kB / 1.441 GB, free: 3.438 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.9198, allocations: 379.4 kB / 1.442 GB, free: 3.035 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.9209, allocations: 0.6094 MB / 1.442 GB, free: 2.41 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9209, allocations: 0 / 1.442 GB, free: 2.41 MB / 1.139 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001928/0.9228, allocations: 0.8374 MB / 1.443 GB, free: 1.566 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.9229, allocations: 11.94 kB / 1.443 GB, free: 1.555 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.9229, allocations: 0 / 1.443 GB, free: 1.555 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000589/0.9235, allocations: 84.89 kB / 1.443 GB, free: 1.469 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.9241, allocations: 163.7 kB / 1.443 GB, free: 1.309 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.9263, allocations: 1.63 MB / 1.445 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007262/0.927, allocations: 95.55 kB / 1.445 GB, free: 15.43 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/0.9271, allocations: 43.98 kB / 1.445 GB, free: 15.39 MB / 1.154 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.0004484/0.9275, allocations: 266.2 kB / 1.445 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/0.9277, allocations: 87.44 kB / 1.445 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.9303, allocations: 1.136 MB / 1.446 GB, free: 13.89 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.9303, allocations: 12 kB / 1.446 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.9303, allocations: 0 / 1.446 GB, free: 13.88 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/0.9303, allocations: 11.97 kB / 1.446 GB, free: 13.86 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.9339, allocations: 2.025 MB / 1.448 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.9339, allocations: 0 / 1.448 GB, free: 11.77 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.9345, allocations: 159.7 kB / 1.449 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004526/0.9349, allocations: 80.72 kB / 1.449 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.244e-05/0.935, allocations: 23.98 kB / 1.449 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.937, allocations: 1.658 MB / 1.45 GB, free: 9.711 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.937, allocations: 0 / 1.45 GB, free: 9.711 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/0.9391, allocations: 1.057 MB / 1.451 GB, free: 8.637 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/0.9396, allocations: 288.1 kB / 1.452 GB, free: 8.336 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.9397, allocations: 24 kB / 1.452 GB, free: 8.312 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.9404, allocations: 67.86 kB / 1.452 GB, free: 8.246 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001662/0.9406, allocations: 76.89 kB / 1.452 GB, free: 8.172 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.473e-05/0.9406, allocations: 43.97 kB / 1.452 GB, free: 8.129 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005973/0.9412, allocations: 467 kB / 1.452 GB, free: 7.68 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.9412, allocations: 0 / 1.452 GB, free: 7.68 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0008827/0.9421, allocations: 331.1 kB / 1.453 GB, free: 7.355 MB / 1.154 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.004246/0.9464, allocations: 2.116 MB / 1.455 GB, free: 5.398 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001736/0.9481, allocations: 0.8155 MB / 1.455 GB, free: 4.574 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.745e-06/0.9481, allocations: 4 kB / 1.455 GB, free: 4.57 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009648/0.9491, allocations: 0.5082 MB / 1.456 GB, free: 4.047 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/0.9503, allocations: 313.2 kB / 1.456 GB, free: 3.762 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.9609, allocations: 6.437 MB / 1.463 GB, free: 13.16 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006783/0.9616, allocations: 1.028 MB / 1.464 GB, free: 12.11 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008239/0.9624, allocations: 274.9 kB / 1.464 GB, free: 11.83 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.9629, allocations: 395.3 kB / 1.464 GB, free: 11.45 MB / 1.17 GB Notification: Performance of SimCode: time 7.82e-07/0.963, allocations: 0 / 1.464 GB, free: 11.45 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/1.022, allocations: 22.41 MB / 1.486 GB, free: 5.363 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.29, allocations: 7.828 kB / 1.486 GB, free: 5.359 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.195666705723852]