Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001363/0.001363, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001768/0.001768, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 8.039 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 3.097/3.097, allocations: 0.49 GB / 0.7951 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 177] 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.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",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.002038/0.002038, allocations: 74.61 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3414, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007214/0.3486, allocations: 5.031 MB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1873/0.5359, allocations: 154.2 MB / 1.481 GB, free: 2.188 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.5369, allocations: 19.88 kB / 1.481 GB, free: 2.168 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000863/0.5377, allocations: 198.2 kB / 1.482 GB, free: 1.973 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.5402, allocations: 0.5703 MB / 1.482 GB, free: 1.402 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00286/0.543, allocations: 0.8981 MB / 1.483 GB, free: 0.5117 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00283/0.5459, allocations: 1.452 MB / 1.484 GB, free: 15.05 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.547, allocations: 426.9 kB / 1.485 GB, free: 14.61 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.5481, allocations: 0.5256 MB / 1.485 GB, free: 14.09 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009693/0.5491, allocations: 0.529 MB / 1.486 GB, free: 13.55 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003311/0.5494, allocations: 120 kB / 1.486 GB, free: 13.44 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.5508, allocations: 0.5113 MB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004522/0.5512, allocations: 314.9 kB / 1.487 GB, free: 12.62 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008777/0.5521, allocations: 0.5752 MB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.5552, allocations: 1.72 MB / 1.489 GB, free: 10.31 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5552, allocations: 4 kB / 1.489 GB, free: 10.31 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5552, allocations: 0 / 1.489 GB, free: 10.31 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.804e-05/0.5552, allocations: 3.938 kB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003733/0.559, allocations: 1.453 MB / 1.49 GB, free: 8.816 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.559, allocations: 8.031 kB / 1.49 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000267/0.5593, allocations: 139.5 kB / 1.491 GB, free: 8.664 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001848/0.5611, allocations: 248 kB / 1.491 GB, free: 8.422 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/0.5628, allocations: 0.7336 MB / 1.492 GB, free: 7.66 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.5629, allocations: 62 kB / 1.492 GB, free: 7.598 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/0.563, allocations: 84 kB / 1.492 GB, free: 7.516 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.5651, allocations: 0.9456 MB / 1.493 GB, free: 6.531 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.5651, allocations: 3.938 kB / 1.493 GB, free: 6.527 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.5652, allocations: 40 kB / 1.493 GB, free: 6.488 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.5652, allocations: 20 kB / 1.493 GB, free: 6.469 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002091/0.5673, allocations: 1.124 MB / 1.494 GB, free: 5.34 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005341/0.5727, allocations: 2.744 MB / 1.496 GB, free: 2.469 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.5745, allocations: 0.7729 MB / 1.497 GB, free: 1.684 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/0.5751, allocations: 294.7 kB / 1.497 GB, free: 1.395 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.707e-05/0.5752, allocations: 32.69 kB / 1.497 GB, free: 1.363 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009825/0.5761, allocations: 0.5136 MB / 1.498 GB, free: 0.832 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 4.779e-06/0.5761, allocations: 0 / 1.498 GB, free: 0.832 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.003579/0.5797, allocations: 1.184 MB / 1.499 GB, free: 15.64 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.5799, allocations: 196.9 kB / 1.499 GB, free: 15.41 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.581, allocations: 0.6685 MB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001218/0.5811, allocations: 45.64 kB / 1.5 GB, free: 14.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.5815, allocations: 409.1 kB / 1.5 GB, free: 14.27 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000307/0.5818, allocations: 281.7 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.582, allocations: 158.5 kB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.5823, allocations: 390.8 kB / 1.501 GB, free: 13.45 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.5828, allocations: 257.9 kB / 1.501 GB, free: 13.19 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000682/0.5835, allocations: 366.5 kB / 1.502 GB, free: 12.81 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.5847, allocations: 0.6047 MB / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.5847, allocations: 0 / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002121/0.5868, allocations: 0.8412 MB / 1.503 GB, free: 11.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5868, allocations: 11.94 kB / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.5868, allocations: 0 / 1.503 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006265/0.5875, allocations: 80.92 kB / 1.503 GB, free: 11.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.5881, allocations: 163.8 kB / 1.503 GB, free: 11.09 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.5904, allocations: 1.527 MB / 1.505 GB, free: 9.441 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008037/0.5912, allocations: 105.9 kB / 1.505 GB, free: 9.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.481e-05/0.5913, allocations: 31.98 kB / 1.505 GB, free: 9.309 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (91): * Single equations (assignments): 90 * 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.0005281/0.5918, allocations: 273.4 kB / 1.505 GB, free: 9.031 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.592, allocations: 91.44 kB / 1.505 GB, free: 8.941 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.5947, allocations: 1.136 MB / 1.507 GB, free: 7.789 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.5947, allocations: 12 kB / 1.507 GB, free: 7.777 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5947, allocations: 0 / 1.507 GB, free: 7.777 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5948, allocations: 3.984 kB / 1.507 GB, free: 7.773 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003831/0.5986, allocations: 2 MB / 1.509 GB, free: 5.719 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5986, allocations: 4 kB / 1.509 GB, free: 5.715 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006344/0.5992, allocations: 159.8 kB / 1.509 GB, free: 5.559 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.5997, allocations: 68.78 kB / 1.509 GB, free: 5.488 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.712e-05/0.5998, allocations: 35.98 kB / 1.509 GB, free: 5.453 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.6019, allocations: 1.559 MB / 1.51 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6019, allocations: 0 / 1.51 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002386/0.6042, allocations: 1.053 MB / 1.511 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000563/0.6048, allocations: 215 kB / 1.512 GB, free: 2.492 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.605, allocations: 19.98 kB / 1.512 GB, free: 2.473 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.6057, allocations: 67.88 kB / 1.512 GB, free: 2.406 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001868/0.6059, allocations: 76.84 kB / 1.512 GB, free: 2.332 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.606, allocations: 43.97 kB / 1.512 GB, free: 2.289 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007251/0.6067, allocations: 487 kB / 1.512 GB, free: 1.82 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6067, allocations: 0 / 1.512 GB, free: 1.82 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001016/0.6077, allocations: 335.1 kB / 1.512 GB, free: 1.492 MB / 1.201 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 (99): * Single equations (assignments): 92 * 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.004497/0.6122, allocations: 2.106 MB / 1.515 GB, free: 15.54 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.6142, allocations: 0.8 MB / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.6142, allocations: 0 / 1.515 GB, free: 14.73 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6152, allocations: 0.5159 MB / 1.516 GB, free: 14.2 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.6167, allocations: 317.6 kB / 1.516 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.6291, allocations: 6.468 MB / 1.522 GB, free: 7.285 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008305/0.6299, allocations: 1.038 MB / 1.523 GB, free: 6.215 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008853/0.6308, allocations: 275 kB / 1.524 GB, free: 5.941 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006656/0.6315, allocations: 419.2 kB / 1.524 GB, free: 5.531 MB / 1.217 GB Notification: Performance of SimCode: time 1.062e-06/0.6315, allocations: 0 / 1.524 GB, free: 5.531 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0685/0.7, allocations: 23.21 MB / 1.547 GB, free: 14.57 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.73, allocations: 4 kB / 1.547 GB, free: 14.57 MB / 1.248 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --stepSize=80 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: 22.451766576850787]