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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|altAng.alt",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004842/0.004842, allocations: 102.8 kB / 15.73 MB, free: 6.492 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.001069/0.001069, allocations: 191.8 kB / 16.67 MB, free: 6.379 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.749/2.749, allocations: 461.9 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.88 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2985, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008462/0.3071, allocations: 4.939 MB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9497/1.257, allocations: 150.6 MB / 1.36 GB, free: 9.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/1.258, allocations: 16.78 kB / 1.36 GB, free: 9.266 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006787/1.259, allocations: 191 kB / 1.36 GB, free: 9.145 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/1.261, allocations: 0.5531 MB / 1.36 GB, free: 8.828 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/1.263, allocations: 0.8559 MB / 1.361 GB, free: 8.387 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001632/1.264, allocations: 1.436 MB / 1.363 GB, free: 7.648 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008812/1.265, allocations: 0.5826 MB / 1.363 GB, free: 7.344 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000766/1.266, allocations: 0.5011 MB / 1.364 GB, free: 7.098 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006408/1.267, allocations: 0.526 MB / 1.364 GB, free: 6.82 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001764/1.267, allocations: 117.8 kB / 1.364 GB, free: 6.82 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/1.268, allocations: 487.8 kB / 1.365 GB, free: 6.711 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002892/1.268, allocations: 308.9 kB / 1.365 GB, free: 6.516 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005454/1.269, allocations: 0.5774 MB / 1.366 GB, free: 6.133 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002179/1.271, allocations: 1.664 MB / 1.367 GB, free: 5.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.271, allocations: 0 / 1.367 GB, free: 5.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/1.271, allocations: 0 / 1.367 GB, free: 5.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.252e-05/1.271, allocations: 0 / 1.367 GB, free: 5.43 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.002941/1.274, allocations: 1.468 MB / 1.369 GB, free: 4.438 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.274, allocations: 9.688 kB / 1.369 GB, free: 4.438 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/1.275, allocations: 186.4 kB / 1.369 GB, free: 4.379 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00137/1.276, allocations: 0.7762 MB / 1.37 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-05/1.276, allocations: 64.62 kB / 1.37 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/1.277, allocations: 83.81 kB / 1.37 GB, free: 3.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/1.278, allocations: 0.949 MB / 1.371 GB, free: 3.383 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/1.278, allocations: 4 kB / 1.371 GB, free: 3.379 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.743e-05/1.278, allocations: 39.41 kB / 1.371 GB, free: 3.352 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.278, allocations: 21.56 kB / 1.371 GB, free: 3.352 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/1.28, allocations: 1.123 MB / 1.372 GB, free: 2.988 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.004865/1.285, allocations: 2.731 MB / 1.375 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/1.287, allocations: 0.9159 MB / 1.375 GB, free: 292 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/1.288, allocations: 317.6 kB / 1.376 GB, free: 128 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.288, allocations: 35.95 kB / 1.376 GB, free: 108 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/1.289, allocations: 0.5176 MB / 1.376 GB, free: 15.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.354e-06/1.289, allocations: 0 / 1.376 GB, free: 15.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.003562/1.292, allocations: 1.254 MB / 1.377 GB, free: 15.09 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/1.293, allocations: 193.6 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/1.294, allocations: 0.6461 MB / 1.378 GB, free: 14.49 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.892e-05/1.294, allocations: 43.08 kB / 1.378 GB, free: 14.45 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/1.294, allocations: 403.8 kB / 1.379 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/1.294, allocations: 271.8 kB / 1.379 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/1.295, allocations: 169.7 kB / 1.379 GB, free: 13.76 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.295, allocations: 394.1 kB / 1.38 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/1.295, allocations: 277 kB / 1.38 GB, free: 13.25 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/1.296, allocations: 389.1 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/1.297, allocations: 0.6351 MB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.297, allocations: 1.812 kB / 1.381 GB, free: 12.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00219/1.3, allocations: 0.8796 MB / 1.382 GB, free: 12.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.3, allocations: 6.375 kB / 1.382 GB, free: 12.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.3, allocations: 5 kB / 1.382 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/1.3, allocations: 93.91 kB / 1.382 GB, free: 12.17 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007057/1.301, allocations: 167.5 kB / 1.382 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/1.303, allocations: 1.632 MB / 1.383 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/1.304, allocations: 106 kB / 1.384 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.264e-05/1.304, allocations: 40.09 kB / 1.384 GB, free: 10.45 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: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (101): * Single equations (assignments): 100 * 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.0005385/1.305, allocations: 273.9 kB / 1.384 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/1.305, allocations: 84.66 kB / 1.384 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.308, allocations: 1.133 MB / 1.385 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/1.308, allocations: 17.69 kB / 1.385 GB, free: 9.555 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/1.308, allocations: 3.938 kB / 1.385 GB, free: 9.551 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/1.308, allocations: 5.391 kB / 1.385 GB, free: 9.547 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/1.312, allocations: 2.021 MB / 1.387 GB, free: 8.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.312, allocations: 0 / 1.387 GB, free: 8.219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/1.312, allocations: 157.2 kB / 1.387 GB, free: 8.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004568/1.313, allocations: 73.39 kB / 1.387 GB, free: 8.145 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.78e-05/1.313, allocations: 28.91 kB / 1.387 GB, free: 8.125 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002025/1.315, allocations: 1.666 MB / 1.389 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.315, allocations: 0 / 1.389 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/1.317, allocations: 1.049 MB / 1.39 GB, free: 5.918 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/1.318, allocations: 280.6 kB / 1.39 GB, free: 5.672 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/1.318, allocations: 26.64 kB / 1.39 GB, free: 5.652 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/1.319, allocations: 61.69 kB / 1.39 GB, free: 5.625 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.319, allocations: 84.88 kB / 1.39 GB, free: 5.578 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-05/1.319, allocations: 31.39 kB / 1.39 GB, free: 5.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006445/1.319, allocations: 464 kB / 1.391 GB, free: 5.305 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.4e-07/1.319, allocations: 0 / 1.391 GB, free: 5.305 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001113/1.321, allocations: 335.2 kB / 1.391 GB, free: 5.211 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.001339/1.322, allocations: 0.6048 MB / 1.392 GB, free: 4.926 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001849/1.324, allocations: 0.8747 MB / 1.393 GB, free: 4.469 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.324, allocations: 1.875 kB / 1.393 GB, free: 4.469 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009965/1.325, allocations: 0.5505 MB / 1.393 GB, free: 4.156 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.326, allocations: 300.9 kB / 1.393 GB, free: 4.004 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003193/1.329, allocations: 1.694 MB / 1.395 GB, free: 3.008 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/1.33, allocations: 1.039 MB / 1.396 GB, free: 2.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008098/1.331, allocations: 274.1 kB / 1.396 GB, free: 2.023 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/1.331, allocations: 112.9 kB / 1.397 GB, free: 1.984 MB / 1.076 GB Notification: Performance of SimCode: time 4.41e-07/1.331, allocations: 0 / 1.397 GB, free: 1.984 MB / 1.076 GB Notification: Performance of Templates: time 0.02804/1.359, allocations: 16.07 MB / 1.412 GB, free: 4.922 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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