Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_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.0105/0.0105, allocations: 101.1 kB / 15.73 MB, free: 6.031 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.002385/0.002385, allocations: 194.8 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.345/2.345, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.708/2.708, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 58.06 kB / 0.9504 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2784, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007644/0.2861, allocations: 4.437 MB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.4544, allocations: 150.6 MB / 1.239 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008408/0.4553, allocations: 23.88 kB / 1.239 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007119/0.456, allocations: 166.4 kB / 1.239 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.4581, allocations: 0.5288 MB / 1.24 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.4602, allocations: 0.8304 MB / 1.24 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.4619, allocations: 1.359 MB / 1.242 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.463, allocations: 0.6259 MB / 1.242 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008248/0.4638, allocations: 498.3 kB / 1.243 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007928/0.4646, allocations: 0.5056 MB / 1.243 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003449/0.465, allocations: 120 kB / 1.243 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.4661, allocations: 491.6 kB / 1.244 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003973/0.4665, allocations: 307 kB / 1.244 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008596/0.4674, allocations: 0.5518 MB / 1.245 GB, free: 376 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.4699, allocations: 1.648 MB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.4699, allocations: 4 kB / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4699, allocations: 0 / 1.246 GB, free: 14.71 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.501e-05/0.4699, allocations: 0 / 1.246 GB, free: 14.71 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.003246/0.4732, allocations: 1.46 MB / 1.248 GB, free: 13.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.4733, allocations: 12.03 kB / 1.248 GB, free: 13.18 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002634/0.4735, allocations: 139.6 kB / 1.248 GB, free: 13.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.4747, allocations: 187.3 kB / 1.248 GB, free: 12.86 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.4765, allocations: 0.774 MB / 1.249 GB, free: 12.04 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-05/0.4766, allocations: 66 kB / 1.249 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.4767, allocations: 87.98 kB / 1.249 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.4785, allocations: 0.9418 MB / 1.25 GB, free: 10.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/0.4786, allocations: 7.938 kB / 1.25 GB, free: 10.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/0.4787, allocations: 36 kB / 1.25 GB, free: 10.86 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.4787, allocations: 24 kB / 1.25 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.4805, allocations: 1.128 MB / 1.251 GB, free: 9.711 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00403/0.4845, allocations: 2.527 MB / 1.254 GB, free: 7.113 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.4861, allocations: 0.9044 MB / 1.254 GB, free: 6.191 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.4866, allocations: 314.7 kB / 1.255 GB, free: 5.883 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.4867, allocations: 32.67 kB / 1.255 GB, free: 5.852 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008617/0.4876, allocations: 0.5197 MB / 1.255 GB, free: 5.309 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.096e-06/0.4876, allocations: 0 / 1.255 GB, free: 5.309 MB / 1.014 GB Notification: Performance of matching and sorting (n=85): time 0.003261/0.4909, allocations: 1.255 MB / 1.256 GB, free: 4.031 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.491, allocations: 196.8 kB / 1.257 GB, free: 3.793 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008438/0.4919, allocations: 0.6449 MB / 1.257 GB, free: 3.145 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.4919, allocations: 41.7 kB / 1.257 GB, free: 3.098 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.4923, allocations: 400.4 kB / 1.258 GB, free: 2.699 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002179/0.4925, allocations: 272.1 kB / 1.258 GB, free: 2.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.4927, allocations: 162.5 kB / 1.258 GB, free: 2.266 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4929, allocations: 386.8 kB / 1.258 GB, free: 1.879 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/0.4934, allocations: 253.9 kB / 1.259 GB, free: 1.633 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.4941, allocations: 379.4 kB / 1.259 GB, free: 1.227 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4952, allocations: 0.6094 MB / 1.26 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.4952, allocations: 4 kB / 1.26 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.7241/1.219, allocations: 0.8276 MB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/1.219, allocations: 9.938 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.219, allocations: 0.8438 kB / 1.26 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/1.22, allocations: 84.77 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008359/1.221, allocations: 161.8 kB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/1.223, allocations: 1.627 MB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009592/1.224, allocations: 89.62 kB / 1.262 GB, free: 172 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/1.224, allocations: 34.64 kB / 1.262 GB, free: 172 MB / 1.014 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.0005988/1.225, allocations: 274.9 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/1.225, allocations: 88.66 kB / 1.263 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00292/1.228, allocations: 1.136 MB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.228, allocations: 11.19 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/1.228, allocations: 0 / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/1.228, allocations: 5.969 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/1.232, allocations: 2.038 MB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.232, allocations: 0.875 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006636/1.233, allocations: 154 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000523/1.233, allocations: 75.84 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.618e-05/1.233, allocations: 34.72 kB / 1.266 GB, free: 171.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/1.235, allocations: 1.654 MB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.235, allocations: 3.938 kB / 1.268 GB, free: 169.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/1.238, allocations: 1.057 MB / 1.269 GB, free: 169.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/1.238, allocations: 285.5 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/1.239, allocations: 25.17 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007138/1.239, allocations: 68.42 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/1.24, allocations: 77.94 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.47e-05/1.24, allocations: 39.72 kB / 1.269 GB, free: 168.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007023/1.24, allocations: 465.8 kB / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.24, allocations: 0 / 1.27 GB, free: 168.7 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001131/1.241, allocations: 321.3 kB / 1.27 GB, free: 168.7 MB / 1.014 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.004128/1.246, allocations: 2.1 MB / 1.272 GB, free: 167.6 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002267/1.248, allocations: 0.8378 MB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/1.248, allocations: 4.562 kB / 1.273 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001272/1.249, allocations: 0.5373 MB / 1.273 GB, free: 167 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.251, allocations: 289 kB / 1.274 GB, free: 166.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.263, allocations: 6.521 MB / 1.28 GB, free: 163.6 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/1.264, allocations: 1.034 MB / 1.281 GB, free: 162.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001029/1.265, allocations: 273.2 kB / 1.281 GB, free: 162.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/1.266, allocations: 401.6 kB / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of SimCode: time 9.62e-07/1.266, allocations: 0 / 1.282 GB, free: 162.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9422/2.208, allocations: 22.35 MB / 1.304 GB, free: 155 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.41/30.61, allocations: 1.562 kB / 1.304 GB, free: 155 MB / 1.014 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches