Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 116.8 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 214.3 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.855/2.855, allocations: 0.49 GB / 0.7923 GB, free: 1.453 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 63.91 kB / 1.149 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.881, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005215/0.8862, allocations: 5.009 MB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1846/1.071, allocations: 154 MB / 1.477 GB, free: 4.293 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00107/1.072, allocations: 27.53 kB / 1.477 GB, free: 4.277 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009111/1.073, allocations: 202.6 kB / 1.477 GB, free: 4.098 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/1.075, allocations: 0.5703 MB / 1.478 GB, free: 3.672 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/1.078, allocations: 0.8771 MB / 1.478 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002293/1.08, allocations: 1.456 MB / 1.48 GB, free: 2.102 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/1.081, allocations: 434.8 kB / 1.48 GB, free: 1.781 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/1.082, allocations: 0.52 MB / 1.481 GB, free: 1.477 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/1.084, allocations: 0.5361 MB / 1.481 GB, free: 1.094 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000471/1.084, allocations: 121.4 kB / 1.481 GB, free: 1.094 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/1.086, allocations: 0.5064 MB / 1.482 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000546/1.086, allocations: 316.7 kB / 1.482 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.087, allocations: 0.5919 MB / 1.483 GB, free: 212 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/1.091, allocations: 1.714 MB / 1.484 GB, free: 14.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.091, allocations: 0 / 1.484 GB, free: 14.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.864e-06/1.091, allocations: 0 / 1.484 GB, free: 14.98 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.262e-05/1.091, allocations: 3.938 kB / 1.484 GB, free: 14.97 MB / 1.17 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.004385/1.095, allocations: 1.533 MB / 1.486 GB, free: 13.77 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/1.095, allocations: 13.17 kB / 1.486 GB, free: 13.76 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.853e-05/1.095, allocations: 27.47 kB / 1.486 GB, free: 13.75 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003418/1.096, allocations: 141.8 kB / 1.486 GB, free: 13.64 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/1.098, allocations: 249.8 kB / 1.486 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/1.1, allocations: 0.8006 MB / 1.487 GB, free: 12.87 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.324e-05/1.1, allocations: 64.97 kB / 1.487 GB, free: 12.84 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/1.1, allocations: 84.34 kB / 1.487 GB, free: 12.81 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/1.102, allocations: 0.947 MB / 1.488 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/1.102, allocations: 0.9062 kB / 1.488 GB, free: 12.2 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/1.102, allocations: 40.92 kB / 1.488 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/1.102, allocations: 20.75 kB / 1.488 GB, free: 12.17 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/1.105, allocations: 1.129 MB / 1.489 GB, free: 11.63 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005766/1.11, allocations: 2.803 MB / 1.492 GB, free: 9.363 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/1.112, allocations: 0.8639 MB / 1.493 GB, free: 8.859 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/1.113, allocations: 294.1 kB / 1.493 GB, free: 8.707 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/1.113, allocations: 27.22 kB / 1.493 GB, free: 8.695 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/1.114, allocations: 0.5204 MB / 1.494 GB, free: 8.355 MB / 1.17 GB Notification: Performance of pre-optimization done (n=85): time 4.789e-06/1.114, allocations: 0 / 1.494 GB, free: 8.355 MB / 1.17 GB Notification: Performance of matching and sorting (n=85): time 0.004006/1.118, allocations: 1.265 MB / 1.495 GB, free: 7.395 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001529/1.118, allocations: 192.9 kB / 1.495 GB, free: 7.164 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/1.119, allocations: 0.6646 MB / 1.496 GB, free: 6.492 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.12, allocations: 41.7 kB / 1.496 GB, free: 6.445 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004359/1.12, allocations: 417 kB / 1.496 GB, free: 6.031 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/1.12, allocations: 289.5 kB / 1.497 GB, free: 5.746 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003128/1.121, allocations: 162.6 kB / 1.497 GB, free: 5.578 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002017/1.121, allocations: 386.7 kB / 1.497 GB, free: 5.191 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005742/1.122, allocations: 257.9 kB / 1.497 GB, free: 4.941 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000704/1.122, allocations: 383.3 kB / 1.498 GB, free: 4.539 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.123, allocations: 0.6094 MB / 1.498 GB, free: 3.914 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/1.123, allocations: 3.938 kB / 1.498 GB, free: 3.91 MB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002256/1.126, allocations: 0.8452 MB / 1.499 GB, free: 3.059 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/1.126, allocations: 4 kB / 1.499 GB, free: 3.055 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/1.126, allocations: 3.938 kB / 1.499 GB, free: 3.051 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/1.126, allocations: 88.89 kB / 1.499 GB, free: 2.961 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/1.127, allocations: 159.8 kB / 1.499 GB, free: 2.805 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/1.129, allocations: 1.63 MB / 1.501 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009198/1.13, allocations: 99.47 kB / 1.501 GB, free: 0.9258 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.535e-05/1.13, allocations: 31.98 kB / 1.501 GB, free: 0.8945 MB / 1.17 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.0005582/1.131, allocations: 271.7 kB / 1.501 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.131, allocations: 91.39 kB / 1.501 GB, free: 0.5312 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002795/1.134, allocations: 1.144 MB / 1.503 GB, free: 15.37 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.134, allocations: 11.98 kB / 1.503 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/1.134, allocations: 0 / 1.503 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.134, allocations: 7.984 kB / 1.503 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004015/1.138, allocations: 2.033 MB / 1.505 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.138, allocations: 3.984 kB / 1.505 GB, free: 13.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006549/1.139, allocations: 155.8 kB / 1.505 GB, free: 13.1 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004764/1.139, allocations: 80.7 kB / 1.505 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.695e-05/1.139, allocations: 23.98 kB / 1.505 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002137/1.141, allocations: 1.662 MB / 1.506 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.141, allocations: 64 / 1.506 GB, free: 11.19 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/1.144, allocations: 1.065 MB / 1.507 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000575/1.145, allocations: 284.2 kB / 1.508 GB, free: 9.809 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.145, allocations: 23.94 kB / 1.508 GB, free: 9.785 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/1.146, allocations: 71.94 kB / 1.508 GB, free: 9.715 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.146, allocations: 76.88 kB / 1.508 GB, free: 9.637 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/1.146, allocations: 35.98 kB / 1.508 GB, free: 9.602 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008678/1.147, allocations: 491 kB / 1.508 GB, free: 9.125 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/1.147, allocations: 0 / 1.508 GB, free: 9.125 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001321/1.148, allocations: 335.1 kB / 1.509 GB, free: 8.797 MB / 1.186 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.004858/1.153, allocations: 2.108 MB / 1.511 GB, free: 6.844 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00215/1.155, allocations: 0.8119 MB / 1.512 GB, free: 6.016 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.155, allocations: 0 / 1.512 GB, free: 6.016 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001176/1.156, allocations: 0.5118 MB / 1.512 GB, free: 5.496 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001706/1.158, allocations: 308.6 kB / 1.512 GB, free: 5.215 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.171, allocations: 6.505 MB / 1.519 GB, free: 14.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008386/1.172, allocations: 1.04 MB / 1.52 GB, free: 13.49 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001035/1.173, allocations: 278.9 kB / 1.52 GB, free: 13.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007018/1.174, allocations: 407.3 kB / 1.52 GB, free: 12.81 MB / 1.201 GB Notification: Performance of SimCode: time 1.422e-06/1.174, allocations: 0 / 1.52 GB, free: 12.81 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07854/1.252, allocations: 22.71 MB / 1.543 GB, free: 6.418 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.3, allocations: 23.84 kB / 1.543 GB, free: 6.398 MB / 1.217 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.758962076040916]