Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_10_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.007491/0.007491, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001889/0.001889, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.385/2.385, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.91 kB / 1.018 GB, free: 9.977 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.6472, allocations: 151.6 MB / 1.166 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00582/0.6531, allocations: 4.945 MB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1463/0.7994, allocations: 150.6 MB / 1.318 GB, free: 7.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007437/0.8002, allocations: 19.88 kB / 1.318 GB, free: 7.605 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006715/0.8009, allocations: 202.2 kB / 1.318 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001854/0.8028, allocations: 0.5674 MB / 1.319 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.8047, allocations: 0.8457 MB / 1.32 GB, free: 6 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001488/0.8062, allocations: 1.44 MB / 1.321 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007729/0.807, allocations: 0.5899 MB / 1.322 GB, free: 3.938 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005645/0.8076, allocations: 0.5061 MB / 1.322 GB, free: 3.43 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005334/0.8081, allocations: 0.5212 MB / 1.323 GB, free: 2.906 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.8083, allocations: 120 kB / 1.323 GB, free: 2.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007948/0.8091, allocations: 487.6 kB / 1.323 GB, free: 2.312 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002485/0.8093, allocations: 315 kB / 1.324 GB, free: 2.004 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004525/0.8098, allocations: 0.5674 MB / 1.324 GB, free: 1.434 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.8115, allocations: 1.682 MB / 1.326 GB, free: 15.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8115, allocations: 0 / 1.326 GB, free: 15.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8115, allocations: 0 / 1.326 GB, free: 15.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.8115, allocations: 0 / 1.326 GB, free: 15.75 MB / 1.061 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.002387/0.8139, allocations: 1.509 MB / 1.327 GB, free: 14.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.814, allocations: 12.92 kB / 1.327 GB, free: 14.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.8141, allocations: 139.6 kB / 1.327 GB, free: 14.03 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008859/0.815, allocations: 192 kB / 1.328 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.8161, allocations: 0.7862 MB / 1.328 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.8161, allocations: 66 kB / 1.328 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.8162, allocations: 87.98 kB / 1.328 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.8177, allocations: 0.9457 MB / 1.329 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.8177, allocations: 0 / 1.329 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.8178, allocations: 36 kB / 1.329 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.8178, allocations: 20 kB / 1.329 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.8196, allocations: 1.136 MB / 1.331 GB, free: 10.68 MB / 1.061 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.003749/0.8234, allocations: 2.742 MB / 1.333 GB, free: 7.828 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/0.8249, allocations: 0.9033 MB / 1.334 GB, free: 6.906 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005483/0.8255, allocations: 326.7 kB / 1.334 GB, free: 6.586 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.692e-05/0.8256, allocations: 32.61 kB / 1.334 GB, free: 6.555 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008758/0.8265, allocations: 0.5138 MB / 1.335 GB, free: 6.023 MB / 1.061 GB Notification: Performance of pre-optimization done (n=85): time 2.405e-06/0.8265, allocations: 0 / 1.335 GB, free: 6.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=85): time 0.003242/0.8297, allocations: 1.259 MB / 1.336 GB, free: 4.734 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.968e-05/0.8298, allocations: 196.9 kB / 1.336 GB, free: 4.5 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007661/0.8306, allocations: 0.6372 MB / 1.337 GB, free: 3.852 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/0.8307, allocations: 49.62 kB / 1.337 GB, free: 3.797 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.831, allocations: 413 kB / 1.337 GB, free: 3.387 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.8312, allocations: 285.6 kB / 1.338 GB, free: 3.105 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/0.8314, allocations: 154.6 kB / 1.338 GB, free: 2.949 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.8316, allocations: 390.7 kB / 1.338 GB, free: 2.559 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/0.8321, allocations: 257.9 kB / 1.338 GB, free: 2.305 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.8327, allocations: 375.4 kB / 1.339 GB, free: 1.91 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.8338, allocations: 0.6133 MB / 1.339 GB, free: 1.285 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.8338, allocations: 0 / 1.339 GB, free: 1.285 MB / 1.061 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001903/0.8357, allocations: 0.8374 MB / 1.34 GB, free: 444 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.8358, allocations: 7.938 kB / 1.34 GB, free: 436 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.8358, allocations: 4 kB / 1.34 GB, free: 432 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005727/0.8364, allocations: 84.89 kB / 1.34 GB, free: 344 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006469/0.837, allocations: 163.7 kB / 1.34 GB, free: 180 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.8391, allocations: 1.641 MB / 1.342 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/0.8398, allocations: 103.5 kB / 1.342 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-05/0.8399, allocations: 35.92 kB / 1.342 GB, free: 14.25 MB / 1.076 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.0003944/0.8403, allocations: 267.1 kB / 1.342 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.8405, allocations: 91.44 kB / 1.343 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.8429, allocations: 1.136 MB / 1.344 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.8429, allocations: 8 kB / 1.344 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.843, allocations: 3.938 kB / 1.344 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.843, allocations: 7.969 kB / 1.344 GB, free: 12.72 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.8462, allocations: 2.036 MB / 1.346 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.8462, allocations: 0 / 1.346 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.8468, allocations: 151.8 kB / 1.346 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.8472, allocations: 72.78 kB / 1.346 GB, free: 10.4 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.8473, allocations: 27.98 kB / 1.346 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.8491, allocations: 1.663 MB / 1.348 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.8491, allocations: 0 / 1.348 GB, free: 8.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.8512, allocations: 1.057 MB / 1.349 GB, free: 7.492 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.8516, allocations: 292.1 kB / 1.349 GB, free: 7.188 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.8517, allocations: 20 kB / 1.349 GB, free: 7.168 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006898/0.8524, allocations: 75.86 kB / 1.349 GB, free: 7.094 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.8525, allocations: 76.89 kB / 1.349 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.8526, allocations: 35.97 kB / 1.349 GB, free: 6.984 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005563/0.8532, allocations: 467 kB / 1.349 GB, free: 6.535 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.523e-06/0.8532, allocations: 0 / 1.349 GB, free: 6.535 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008204/0.854, allocations: 339 kB / 1.35 GB, free: 6.203 MB / 1.076 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.003486/0.8575, allocations: 2.108 MB / 1.352 GB, free: 4.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.8592, allocations: 0.8392 MB / 1.353 GB, free: 3.379 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.8592, allocations: 4 kB / 1.353 GB, free: 3.375 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009424/0.8602, allocations: 0.547 MB / 1.353 GB, free: 2.816 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.8614, allocations: 303.6 kB / 1.354 GB, free: 2.539 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009823/0.8713, allocations: 6.423 MB / 1.36 GB, free: 11.95 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.8718, allocations: 1.032 MB / 1.361 GB, free: 10.89 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007985/0.8726, allocations: 270.9 kB / 1.361 GB, free: 10.62 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/0.8732, allocations: 403.3 kB / 1.361 GB, free: 10.23 MB / 1.092 GB Notification: Performance of SimCode: time 5.11e-07/0.8732, allocations: 0 / 1.361 GB, free: 10.23 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04936/0.9225, allocations: 22.28 MB / 1.383 GB, free: 4.203 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.29, allocations: 0 / 1.383 GB, free: 4.203 MB / 1.107 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[501]=86400.000000 File[27]=1002.240000 " Variables in the reference:time,altAng.alt Variables in the result:time,altAng.alt,decAng.calTimAux,decAng.decAng,decAng.modTimAux,solHouAng.solHouAng