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.001918/0.001918, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.002372/0.002372, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.54/1.54, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.069/3.069, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 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.002422/0.002422, allocations: 63.89 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9451/0.9475, allocations: 178.9 MB / 1.34 GB, free: 16.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007387/0.9549, allocations: 4.852 MB / 1.345 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1949/1.15, allocations: 154 MB / 1.495 GB, free: 8.359 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000986/1.151, allocations: 23.59 kB / 1.495 GB, free: 8.348 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006499/1.151, allocations: 199.4 kB / 1.495 GB, free: 8.172 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001972/1.153, allocations: 0.5537 MB / 1.496 GB, free: 7.758 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/1.156, allocations: 0.858 MB / 1.497 GB, free: 7.109 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001765/1.157, allocations: 1.388 MB / 1.498 GB, free: 6.238 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007444/1.158, allocations: 422.2 kB / 1.499 GB, free: 5.93 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008477/1.159, allocations: 0.49 MB / 1.499 GB, free: 5.441 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007188/1.16, allocations: 0.5056 MB / 1.5 GB, free: 4.934 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001821/1.16, allocations: 116 kB / 1.5 GB, free: 4.82 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/1.161, allocations: 0.5113 MB / 1.5 GB, free: 4.309 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003244/1.161, allocations: 299 kB / 1.5 GB, free: 4.016 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000588/1.162, allocations: 0.5558 MB / 1.501 GB, free: 3.457 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/1.164, allocations: 1.662 MB / 1.503 GB, free: 1.789 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.164, allocations: 3.938 kB / 1.503 GB, free: 1.785 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/1.164, allocations: 0 / 1.503 GB, free: 1.785 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.871e-05/1.164, allocations: 0 / 1.503 GB, free: 1.785 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002768/1.167, allocations: 1.471 MB / 1.504 GB, free: 268 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/1.167, allocations: 16.03 kB / 1.504 GB, free: 252 kB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.646e-05/1.167, allocations: 22.19 kB / 1.504 GB, free: 232 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/1.167, allocations: 131.3 kB / 1.504 GB, free: 92 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001489/1.169, allocations: 232 kB / 1.504 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/1.17, allocations: 0.7783 MB / 1.505 GB, free: 15.04 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/1.17, allocations: 61.98 kB / 1.505 GB, free: 14.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.17, allocations: 80 kB / 1.505 GB, free: 14.9 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.172, allocations: 0.9066 MB / 1.506 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/1.172, allocations: 0 / 1.506 GB, free: 13.96 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.393e-05/1.172, allocations: 36 kB / 1.506 GB, free: 13.92 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/1.172, allocations: 20 kB / 1.506 GB, free: 13.9 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/1.174, allocations: 1.1 MB / 1.507 GB, free: 12.8 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004295/1.178, allocations: 2.731 MB / 1.51 GB, free: 9.945 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.18, allocations: 0.8145 MB / 1.511 GB, free: 9.113 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005394/1.18, allocations: 281.9 kB / 1.511 GB, free: 8.84 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/1.18, allocations: 28.61 kB / 1.511 GB, free: 8.812 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008965/1.181, allocations: 495.3 kB / 1.512 GB, free: 8.309 MB / 1.186 GB Notification: Performance of pre-optimization done (n=79): time 2.114e-06/1.181, allocations: 0 / 1.512 GB, free: 8.309 MB / 1.186 GB Notification: Performance of matching and sorting (n=79): time 0.003387/1.185, allocations: 1.186 MB / 1.513 GB, free: 7.094 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.185, allocations: 196.6 kB / 1.513 GB, free: 6.859 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009659/1.186, allocations: 0.645 MB / 1.514 GB, free: 6.203 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.806e-05/1.186, allocations: 41.7 kB / 1.514 GB, free: 6.156 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003569/1.186, allocations: 393.1 kB / 1.514 GB, free: 5.766 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.187, allocations: 273.7 kB / 1.514 GB, free: 5.496 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/1.187, allocations: 150.6 kB / 1.514 GB, free: 5.34 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.187, allocations: 386.7 kB / 1.515 GB, free: 4.953 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/1.187, allocations: 249.8 kB / 1.515 GB, free: 4.711 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006384/1.188, allocations: 354.6 kB / 1.515 GB, free: 4.34 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.189, allocations: 0.5721 MB / 1.516 GB, free: 3.754 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.189, allocations: 0 / 1.516 GB, free: 3.754 MB / 1.186 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002013/1.191, allocations: 0.7984 MB / 1.517 GB, free: 2.949 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/1.191, allocations: 4.094 kB / 1.517 GB, free: 2.945 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.191, allocations: 8 kB / 1.517 GB, free: 2.938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/1.192, allocations: 80.77 kB / 1.517 GB, free: 2.855 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/1.193, allocations: 151.7 kB / 1.517 GB, free: 2.707 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/1.195, allocations: 1.632 MB / 1.518 GB, free: 0.9258 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007136/1.196, allocations: 83.56 kB / 1.519 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-05/1.196, allocations: 27.98 kB / 1.519 GB, free: 0.8164 MB / 1.186 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.0004836/1.196, allocations: 271.4 kB / 1.519 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/1.196, allocations: 91.42 kB / 1.519 GB, free: 464 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/1.199, allocations: 1.054 MB / 1.52 GB, free: 15.38 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.199, allocations: 12 kB / 1.52 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.199, allocations: 7.938 kB / 1.52 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.199, allocations: 3.984 kB / 1.52 GB, free: 15.36 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003746/1.203, allocations: 1.923 MB / 1.522 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/1.203, allocations: 0 / 1.522 GB, free: 13.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/1.203, allocations: 143.8 kB / 1.522 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/1.204, allocations: 72.78 kB / 1.522 GB, free: 13.16 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.869e-05/1.204, allocations: 23.98 kB / 1.522 GB, free: 13.14 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002136/1.206, allocations: 1.658 MB / 1.524 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/1.206, allocations: 0 / 1.524 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002291/1.208, allocations: 0.9867 MB / 1.525 GB, free: 10.33 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/1.209, allocations: 284.3 kB / 1.525 GB, free: 10.03 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/1.209, allocations: 20.06 kB / 1.525 GB, free: 10.01 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/1.21, allocations: 63.92 kB / 1.525 GB, free: 9.949 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/1.21, allocations: 72.89 kB / 1.525 GB, free: 9.879 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-05/1.21, allocations: 35.98 kB / 1.525 GB, free: 9.844 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007118/1.211, allocations: 475 kB / 1.526 GB, free: 9.387 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/1.211, allocations: 7.875 kB / 1.526 GB, free: 9.379 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009872/1.212, allocations: 311.2 kB / 1.526 GB, free: 9.074 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: 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.004424/1.216, allocations: 2.039 MB / 1.528 GB, free: 7.191 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001842/1.218, allocations: 0.7609 MB / 1.529 GB, free: 6.418 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/1.218, allocations: 4 kB / 1.529 GB, free: 6.414 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.219, allocations: 0.4886 MB / 1.529 GB, free: 5.91 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.22, allocations: 307.7 kB / 1.529 GB, free: 5.629 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01185/1.232, allocations: 6.214 MB / 1.535 GB, free: 15.26 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/1.233, allocations: 1.02 MB / 1.536 GB, free: 14.21 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008629/1.234, allocations: 258.7 kB / 1.537 GB, free: 13.96 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006356/1.235, allocations: 391.3 kB / 1.537 GB, free: 13.57 MB / 1.217 GB Notification: Performance of SimCode: time 1.052e-06/1.235, allocations: 0 / 1.537 GB, free: 13.57 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05973/1.294, allocations: 21.76 MB / 1.558 GB, free: 8.148 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.79, allocations: 10.58 kB / 1.558 GB, free: 8.141 MB / 1.232 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: 21.674310048983898]