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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007135/0.007135, allocations: 100 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 196.3 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.536/2.536, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 64.11 kB / 1.054 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7904/0.7917, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00698/0.7988, allocations: 4.944 MB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1567/0.9555, allocations: 150.6 MB / 1.359 GB, free: 1.387 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008089/0.9564, allocations: 19.88 kB / 1.359 GB, free: 1.367 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007275/0.9571, allocations: 186.2 kB / 1.359 GB, free: 1.184 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.9591, allocations: 0.557 MB / 1.36 GB, free: 0.6289 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.9612, allocations: 0.8519 MB / 1.361 GB, free: 15.78 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00183/0.9631, allocations: 1.436 MB / 1.362 GB, free: 14.34 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009688/0.964, allocations: 0.5872 MB / 1.363 GB, free: 13.73 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008637/0.9649, allocations: 0.5061 MB / 1.363 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007974/0.9657, allocations: 0.5212 MB / 1.364 GB, free: 12.7 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002701/0.966, allocations: 116 kB / 1.364 GB, free: 12.59 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.967, allocations: 491.6 kB / 1.364 GB, free: 12.11 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.9674, allocations: 315 kB / 1.365 GB, free: 11.8 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006905/0.9681, allocations: 0.5713 MB / 1.365 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002167/0.9703, allocations: 1.674 MB / 1.367 GB, free: 9.547 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9703, allocations: 0 / 1.367 GB, free: 9.547 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9703, allocations: 3.938 kB / 1.367 GB, free: 9.543 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.449e-05/0.9703, allocations: 0 / 1.367 GB, free: 9.543 MB / 1.092 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.003044/0.9734, allocations: 1.472 MB / 1.368 GB, free: 8.012 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.9734, allocations: 8.031 kB / 1.368 GB, free: 8.004 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/0.9736, allocations: 139.6 kB / 1.368 GB, free: 7.859 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009572/0.9746, allocations: 187.3 kB / 1.369 GB, free: 7.676 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.976, allocations: 0.7778 MB / 1.369 GB, free: 6.855 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.976, allocations: 70 kB / 1.369 GB, free: 6.789 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.9762, allocations: 84 kB / 1.369 GB, free: 6.707 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.9778, allocations: 0.9496 MB / 1.37 GB, free: 5.715 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.9779, allocations: 0 / 1.37 GB, free: 5.715 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.301e-05/0.978, allocations: 43.88 kB / 1.37 GB, free: 5.672 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.978, allocations: 20 kB / 1.37 GB, free: 5.652 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.9798, allocations: 1.132 MB / 1.372 GB, free: 4.523 MB / 1.092 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.004515/0.9843, allocations: 2.728 MB / 1.374 GB, free: 1.676 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.986, allocations: 0.9111 MB / 1.375 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.9866, allocations: 318.7 kB / 1.375 GB, free: 436 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.702e-05/0.9867, allocations: 32.69 kB / 1.375 GB, free: 404 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009163/0.9876, allocations: 0.512 MB / 1.376 GB, free: 15.87 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.775e-06/0.9877, allocations: 0 / 1.376 GB, free: 15.87 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.003434/0.9911, allocations: 1.255 MB / 1.377 GB, free: 14.58 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.9912, allocations: 200.8 kB / 1.377 GB, free: 14.34 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009131/0.9921, allocations: 0.6372 MB / 1.378 GB, free: 13.7 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.9923, allocations: 41.7 kB / 1.378 GB, free: 13.65 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004187/0.9927, allocations: 412.3 kB / 1.378 GB, free: 13.24 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.993, allocations: 268.1 kB / 1.379 GB, free: 12.98 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.9932, allocations: 150.6 kB / 1.379 GB, free: 12.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.9934, allocations: 390.7 kB / 1.379 GB, free: 12.43 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/0.994, allocations: 257.9 kB / 1.379 GB, free: 12.18 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.9947, allocations: 375.4 kB / 1.38 GB, free: 11.79 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.9959, allocations: 0.6133 MB / 1.38 GB, free: 11.16 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.9959, allocations: 0 / 1.38 GB, free: 11.16 MB / 1.107 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002075/0.9979, allocations: 0.8369 MB / 1.381 GB, free: 10.31 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.998, allocations: 11.94 kB / 1.381 GB, free: 10.3 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.998, allocations: 3.938 kB / 1.381 GB, free: 10.29 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006055/0.9986, allocations: 84.89 kB / 1.381 GB, free: 10.21 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.9993, allocations: 163.7 kB / 1.381 GB, free: 10.05 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002186/1.001, allocations: 1.638 MB / 1.383 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009612/1.002, allocations: 102.1 kB / 1.383 GB, free: 8.164 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/1.003, allocations: 39.91 kB / 1.383 GB, free: 8.125 MB / 1.107 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.0005424/1.003, allocations: 269.6 kB / 1.383 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002615/1.003, allocations: 82.97 kB / 1.384 GB, free: 7.77 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002662/1.006, allocations: 1.14 MB / 1.385 GB, free: 6.613 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/1.006, allocations: 8 kB / 1.385 GB, free: 6.605 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/1.006, allocations: 0 / 1.385 GB, free: 6.605 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/1.006, allocations: 11.97 kB / 1.385 GB, free: 6.594 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003835/1.01, allocations: 2.028 MB / 1.387 GB, free: 4.508 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.01, allocations: 0 / 1.387 GB, free: 4.508 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/1.011, allocations: 151.8 kB / 1.387 GB, free: 4.359 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/1.011, allocations: 76.78 kB / 1.387 GB, free: 4.281 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.87e-05/1.011, allocations: 23.98 kB / 1.387 GB, free: 4.258 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/1.013, allocations: 1.666 MB / 1.389 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.013, allocations: 0 / 1.389 GB, free: 2.449 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/1.016, allocations: 1.053 MB / 1.39 GB, free: 1.375 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006841/1.016, allocations: 279.7 kB / 1.39 GB, free: 1.082 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002361/1.017, allocations: 20 kB / 1.39 GB, free: 1.062 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000854/1.017, allocations: 71.92 kB / 1.39 GB, free: 0.9922 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/1.018, allocations: 76.89 kB / 1.39 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.074e-05/1.018, allocations: 39.91 kB / 1.39 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007738/1.019, allocations: 467 kB / 1.39 GB, free: 436 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 1.39 GB, free: 436 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001164/1.02, allocations: 339.1 kB / 1.391 GB, free: 96 kB / 1.107 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.004169/1.024, allocations: 2.1 MB / 1.393 GB, free: 14.14 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001914/1.026, allocations: 0.8431 MB / 1.394 GB, free: 13.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/1.026, allocations: 0 / 1.394 GB, free: 13.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/1.027, allocations: 0.547 MB / 1.394 GB, free: 12.73 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.029, allocations: 297.1 kB / 1.394 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/1.04, allocations: 6.385 MB / 1.401 GB, free: 5.918 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007585/1.041, allocations: 1.043 MB / 1.402 GB, free: 4.852 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009173/1.042, allocations: 266.9 kB / 1.402 GB, free: 4.586 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/1.043, allocations: 403.2 kB / 1.402 GB, free: 4.191 MB / 1.123 GB Notification: Performance of SimCode: time 6.81e-07/1.043, allocations: 0 / 1.402 GB, free: 4.191 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/1.097, allocations: 22.72 MB / 1.425 GB, free: 13.82 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/14.33, allocations: 11.94 kB / 1.425 GB, free: 13.81 MB / 1.154 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) 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) Reference file matches