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.005478/0.005478, allocations: 100.1 kB / 15.73 MB, free: 6.453 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.001214/0.001214, allocations: 199.7 kB / 16.67 MB, free: 6.355 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.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.515/2.515, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 59.91 kB / 1.018 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.286, allocations: 151.6 MB / 1.166 GB, free: 7.453 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007022/0.2931, allocations: 4.953 MB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7902/1.083, allocations: 150.6 MB / 1.318 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/1.084, allocations: 20.28 kB / 1.318 GB, free: 10.29 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009084/1.085, allocations: 192.7 kB / 1.318 GB, free: 10.19 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002461/1.088, allocations: 0.5625 MB / 1.319 GB, free: 9.938 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/1.091, allocations: 0.8538 MB / 1.32 GB, free: 9.773 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002508/1.093, allocations: 1.432 MB / 1.321 GB, free: 9.508 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/1.095, allocations: 0.5902 MB / 1.322 GB, free: 9.355 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/1.096, allocations: 0.5115 MB / 1.322 GB, free: 9.242 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/1.097, allocations: 0.5191 MB / 1.323 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004608/1.097, allocations: 118.3 kB / 1.323 GB, free: 9.109 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/1.099, allocations: 487.2 kB / 1.323 GB, free: 9.082 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005874/1.1, allocations: 305.8 kB / 1.324 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00145/1.101, allocations: 0.5797 MB / 1.324 GB, free: 8.676 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003411/1.104, allocations: 1.664 MB / 1.326 GB, free: 7.977 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.104, allocations: 9.688 kB / 1.326 GB, free: 7.969 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.824e-06/1.104, allocations: 0 / 1.326 GB, free: 7.969 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.501e-05/1.105, allocations: 0 / 1.326 GB, free: 7.969 MB / 1.014 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.00441/1.109, allocations: 1.466 MB / 1.327 GB, free: 6.984 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.109, allocations: 10.12 kB / 1.327 GB, free: 6.984 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000349/1.109, allocations: 138.7 kB / 1.327 GB, free: 6.891 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/1.111, allocations: 191.7 kB / 1.327 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/1.112, allocations: 0.7722 MB / 1.328 GB, free: 6.324 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/1.113, allocations: 65.19 kB / 1.328 GB, free: 6.293 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001847/1.113, allocations: 84.83 kB / 1.328 GB, free: 6.266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/1.115, allocations: 0.9499 MB / 1.329 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/1.115, allocations: 1.781 kB / 1.329 GB, free: 5.832 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/1.115, allocations: 39.52 kB / 1.329 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/1.115, allocations: 25.41 kB / 1.329 GB, free: 5.801 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/1.117, allocations: 1.128 MB / 1.33 GB, free: 5.539 MB / 1.014 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.004935/1.122, allocations: 2.74 MB / 1.333 GB, free: 3.875 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.124, allocations: 0.904 MB / 1.334 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006049/1.124, allocations: 316 kB / 1.334 GB, free: 3.355 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.712e-05/1.125, allocations: 33.02 kB / 1.334 GB, free: 3.344 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009736/1.126, allocations: 0.5158 MB / 1.335 GB, free: 3.133 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.827e-06/1.126, allocations: 0 / 1.335 GB, free: 3.133 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003541/1.129, allocations: 1.26 MB / 1.336 GB, free: 2.605 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/1.129, allocations: 195.2 kB / 1.336 GB, free: 2.383 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/1.13, allocations: 0.6441 MB / 1.337 GB, free: 2.094 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001053/1.13, allocations: 42.61 kB / 1.337 GB, free: 2.051 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003789/1.131, allocations: 410.3 kB / 1.337 GB, free: 1.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002649/1.131, allocations: 273.3 kB / 1.338 GB, free: 1.516 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.131, allocations: 152.7 kB / 1.338 GB, free: 1.449 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001887/1.132, allocations: 386 kB / 1.338 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/1.132, allocations: 259 kB / 1.338 GB, free: 1.016 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/1.133, allocations: 383.5 kB / 1.339 GB, free: 0.8164 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/1.134, allocations: 0.6146 MB / 1.339 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.134, allocations: 0 / 1.339 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002176/1.136, allocations: 0.8363 MB / 1.34 GB, free: 192 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/1.136, allocations: 7.625 kB / 1.34 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/1.136, allocations: 5.094 kB / 1.34 GB, free: 188 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/1.137, allocations: 88.41 kB / 1.34 GB, free: 164 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.138, allocations: 161.8 kB / 1.34 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/1.14, allocations: 1.635 MB / 1.342 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/1.141, allocations: 90.2 kB / 1.342 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/1.141, allocations: 36 kB / 1.342 GB, free: 14.56 MB / 1.029 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.000567/1.141, allocations: 268.2 kB / 1.342 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/1.142, allocations: 85.03 kB / 1.342 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002774/1.145, allocations: 1.141 MB / 1.344 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.145, allocations: 13.88 kB / 1.344 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.145, allocations: 1.062 kB / 1.344 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.296e-05/1.145, allocations: 10.8 kB / 1.344 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004078/1.149, allocations: 2.018 MB / 1.346 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/1.149, allocations: 2.625 kB / 1.346 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/1.149, allocations: 155.9 kB / 1.346 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/1.15, allocations: 68.12 kB / 1.346 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.61e-05/1.15, allocations: 31.77 kB / 1.346 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/1.152, allocations: 1.661 MB / 1.347 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.152, allocations: 1.062 kB / 1.347 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/1.154, allocations: 1.058 MB / 1.348 GB, free: 10.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/1.155, allocations: 274.1 kB / 1.349 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.155, allocations: 28.38 kB / 1.349 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007869/1.156, allocations: 62.33 kB / 1.349 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/1.156, allocations: 78.14 kB / 1.349 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.42e-05/1.156, allocations: 44.11 kB / 1.349 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007814/1.157, allocations: 465.8 kB / 1.349 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.6e-07/1.157, allocations: 0 / 1.349 GB, free: 10.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001362/1.158, allocations: 332.5 kB / 1.35 GB, free: 10.26 MB / 1.029 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.004147/1.163, allocations: 2.108 MB / 1.352 GB, free: 9.082 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00197/1.165, allocations: 0.8359 MB / 1.353 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.165, allocations: 1.188 kB / 1.353 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.166, allocations: 0.5495 MB / 1.353 GB, free: 8.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.167, allocations: 315.9 kB / 1.353 GB, free: 8.375 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/1.179, allocations: 6.395 MB / 1.36 GB, free: 4.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/1.18, allocations: 1.033 MB / 1.361 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0009638/1.181, allocations: 270.8 kB / 1.361 GB, free: 3.898 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/1.181, allocations: 394.8 kB / 1.361 GB, free: 3.586 MB / 1.029 GB Notification: Performance of SimCode: time 9.11e-07/1.182, allocations: 0 / 1.361 GB, free: 3.586 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05423/1.236, allocations: 22.28 MB / 1.383 GB, free: 6.375 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.5, allocations: 0 / 1.383 GB, free: 6.375 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches