Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001809/0.001809, allocations: 109.8 kB / 19.73 MB, free: 2.238 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.002427/0.002427, allocations: 220 kB / 23.04 MB, free: 5.078 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.27/3.27, allocations: 0.5003 GB / 0.8061 GB, free: 26.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001898/0.001898, allocations: 69.33 kB / 1.171 GB, free: 20 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3888, allocations: 179 MB / 1.345 GB, free: 0.668 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007342/0.3962, allocations: 4.874 MB / 1.35 GB, free: 11.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.5821, allocations: 154.1 MB / 1.501 GB, free: 1.059 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009584/0.5831, allocations: 23.81 kB / 1.501 GB, free: 1.035 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.584, allocations: 194.2 kB / 1.501 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002144/0.5861, allocations: 0.5593 MB / 1.501 GB, free: 292 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002422/0.5885, allocations: 0.8763 MB / 1.502 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002068/0.5906, allocations: 1.397 MB / 1.504 GB, free: 14.01 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009631/0.5916, allocations: 401.9 kB / 1.504 GB, free: 13.59 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.5926, allocations: 0.4984 MB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007643/0.5934, allocations: 0.5017 MB / 1.505 GB, free: 12.59 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.5935, allocations: 116 kB / 1.505 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.5946, allocations: 0.5074 MB / 1.506 GB, free: 11.97 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003126/0.5949, allocations: 307 kB / 1.506 GB, free: 11.67 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006441/0.5956, allocations: 0.5519 MB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.5979, allocations: 1.658 MB / 1.508 GB, free: 9.449 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5979, allocations: 3.938 kB / 1.508 GB, free: 9.445 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5979, allocations: 4 kB / 1.508 GB, free: 9.441 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.866e-05/0.5979, allocations: 0 / 1.508 GB, free: 9.441 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002836/0.6007, allocations: 1.407 MB / 1.509 GB, free: 7.996 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.6008, allocations: 8.031 kB / 1.509 GB, free: 7.988 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.537e-05/0.6008, allocations: 22.19 kB / 1.509 GB, free: 7.969 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001596/0.601, allocations: 135.3 kB / 1.51 GB, free: 7.828 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.6024, allocations: 232 kB / 1.51 GB, free: 7.602 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/0.6037, allocations: 0.7062 MB / 1.51 GB, free: 6.871 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.6038, allocations: 61.98 kB / 1.51 GB, free: 6.809 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.6039, allocations: 80 kB / 1.511 GB, free: 6.73 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.6055, allocations: 0.9066 MB / 1.511 GB, free: 5.785 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.6055, allocations: 3.938 kB / 1.511 GB, free: 5.781 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.6056, allocations: 36 kB / 1.511 GB, free: 5.746 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.6056, allocations: 20 kB / 1.511 GB, free: 5.727 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.6075, allocations: 1.093 MB / 1.513 GB, free: 4.633 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004785/0.6123, allocations: 2.664 MB / 1.515 GB, free: 1.844 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.614, allocations: 0.7468 MB / 1.516 GB, free: 1.09 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.6145, allocations: 278.6 kB / 1.516 GB, free: 0.8125 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.6146, allocations: 36.61 kB / 1.516 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009627/0.6156, allocations: 495.3 kB / 1.517 GB, free: 280 kB / 1.201 GB Notification: Performance of pre-optimization done (n=79): time 2.765e-06/0.6156, allocations: 0 / 1.517 GB, free: 280 kB / 1.201 GB Notification: Performance of matching and sorting (n=79): time 0.003461/0.619, allocations: 1.111 MB / 1.518 GB, free: 15.16 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.6192, allocations: 192.6 kB / 1.518 GB, free: 14.93 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009719/0.6201, allocations: 0.6449 MB / 1.519 GB, free: 14.27 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.908e-05/0.6202, allocations: 41.7 kB / 1.519 GB, free: 14.22 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.6206, allocations: 405 kB / 1.519 GB, free: 13.82 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6209, allocations: 269.7 kB / 1.519 GB, free: 13.55 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.6212, allocations: 146.6 kB / 1.519 GB, free: 13.41 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.6214, allocations: 390.7 kB / 1.52 GB, free: 13.02 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.6219, allocations: 241.8 kB / 1.52 GB, free: 12.78 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.6225, allocations: 366.5 kB / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.6236, allocations: 0.5721 MB / 1.521 GB, free: 11.81 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6236, allocations: 0 / 1.521 GB, free: 11.81 MB / 1.217 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001942/0.6256, allocations: 0.7907 MB / 1.522 GB, free: 11.01 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6256, allocations: 8 kB / 1.522 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.6256, allocations: 0 / 1.522 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/0.6263, allocations: 88.8 kB / 1.522 GB, free: 10.91 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.6269, allocations: 151.7 kB / 1.522 GB, free: 10.76 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.6291, allocations: 1.531 MB / 1.523 GB, free: 9.109 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007017/0.6298, allocations: 86.17 kB / 1.523 GB, free: 9.027 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-05/0.6299, allocations: 27.98 kB / 1.524 GB, free: 9 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.000479/0.6303, allocations: 273.6 kB / 1.524 GB, free: 8.723 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.6305, allocations: 87.44 kB / 1.524 GB, free: 8.637 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.6329, allocations: 1.05 MB / 1.525 GB, free: 7.578 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.6329, allocations: 8 kB / 1.525 GB, free: 7.57 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.6329, allocations: 3.938 kB / 1.525 GB, free: 7.566 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.633, allocations: 7.969 kB / 1.525 GB, free: 7.559 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003473/0.6364, allocations: 1.895 MB / 1.527 GB, free: 5.609 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.6364, allocations: 0 / 1.527 GB, free: 5.609 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.637, allocations: 139.8 kB / 1.527 GB, free: 5.473 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004494/0.6374, allocations: 72.78 kB / 1.527 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-05/0.6375, allocations: 23.98 kB / 1.527 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.6396, allocations: 1.566 MB / 1.529 GB, free: 3.68 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6396, allocations: 0 / 1.529 GB, free: 3.68 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002137/0.6417, allocations: 0.9907 MB / 1.529 GB, free: 2.672 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.6422, allocations: 207.1 kB / 1.53 GB, free: 2.469 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.6423, allocations: 16 kB / 1.53 GB, free: 2.453 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006585/0.643, allocations: 67.92 kB / 1.53 GB, free: 2.387 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.6431, allocations: 72.86 kB / 1.53 GB, free: 2.312 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.539e-05/0.6432, allocations: 31.98 kB / 1.53 GB, free: 2.281 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006497/0.6439, allocations: 475 kB / 1.53 GB, free: 1.824 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6439, allocations: 3.938 kB / 1.53 GB, free: 1.82 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009223/0.6448, allocations: 319.2 kB / 1.531 GB, free: 1.508 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.004455/0.6492, allocations: 2.042 MB / 1.533 GB, free: 15.62 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.6511, allocations: 0.7611 MB / 1.533 GB, free: 14.85 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.6511, allocations: 0 / 1.533 GB, free: 14.85 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.6521, allocations: 492.2 kB / 1.534 GB, free: 14.36 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.6535, allocations: 306.7 kB / 1.534 GB, free: 14.07 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.665, allocations: 6.222 MB / 1.54 GB, free: 7.703 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009091/0.6659, allocations: 1.023 MB / 1.541 GB, free: 6.648 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.001036/0.667, allocations: 270.7 kB / 1.541 GB, free: 6.379 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/0.6676, allocations: 383.3 kB / 1.542 GB, free: 6.008 MB / 1.233 GB Notification: Performance of SimCode: time 1.933e-06/0.6676, allocations: 0 / 1.542 GB, free: 6.008 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06142/0.729, allocations: 22.25 MB / 1.564 GB, free: 15.96 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.19/14.92, allocations: 11.94 kB / 1.564 GB, free: 15.95 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.130026619008277]