Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001413/0.001413, allocations: 116.8 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.001679/0.001679, allocations: 209.5 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.116/3.116, allocations: 0.5003 GB / 0.8026 GB, free: 6.922 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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001984/0.001984, allocations: 63.91 kB / 1.165 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9925/0.9945, allocations: 178.9 MB / 1.34 GB, free: 16.34 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006839/1.001, allocations: 5.069 MB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2023/1.204, allocations: 154.1 MB / 1.496 GB, free: 8.121 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/1.205, allocations: 27.47 kB / 1.496 GB, free: 8.105 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/1.206, allocations: 206.7 kB / 1.496 GB, free: 7.922 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002289/1.208, allocations: 0.5824 MB / 1.496 GB, free: 7.484 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002584/1.21, allocations: 0.9071 MB / 1.497 GB, free: 6.797 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002199/1.213, allocations: 1.486 MB / 1.499 GB, free: 5.871 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008562/1.214, allocations: 444.4 kB / 1.499 GB, free: 5.414 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009123/1.214, allocations: 0.5412 MB / 1.5 GB, free: 4.871 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007313/1.215, allocations: 0.5484 MB / 1.5 GB, free: 4.32 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001809/1.215, allocations: 124 kB / 1.5 GB, free: 4.199 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/1.217, allocations: 0.5387 MB / 1.501 GB, free: 3.66 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003351/1.217, allocations: 322.9 kB / 1.501 GB, free: 3.344 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0006621/1.218, allocations: 0.5986 MB / 1.502 GB, free: 2.742 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002751/1.22, allocations: 1.778 MB / 1.503 GB, free: 0.957 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/1.22, allocations: 3.938 kB / 1.503 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.034e-06/1.22, allocations: 0 / 1.503 GB, free: 0.9531 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.882e-05/1.22, allocations: 0 / 1.503 GB, free: 0.9531 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003292/1.224, allocations: 1.563 MB / 1.505 GB, free: 15.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/1.224, allocations: 8.031 kB / 1.505 GB, free: 15.33 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.68e-05/1.224, allocations: 34.19 kB / 1.505 GB, free: 15.3 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/1.224, allocations: 139.8 kB / 1.505 GB, free: 15.15 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002018/1.226, allocations: 271.9 kB / 1.505 GB, free: 14.89 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/1.227, allocations: 0.8055 MB / 1.506 GB, free: 14.04 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.053e-05/1.227, allocations: 70 kB / 1.506 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.228, allocations: 84 kB / 1.506 GB, free: 13.89 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/1.23, allocations: 0.973 MB / 1.507 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/1.23, allocations: 0 / 1.507 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.23, allocations: 43.92 kB / 1.507 GB, free: 12.83 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/1.23, allocations: 24 kB / 1.507 GB, free: 12.81 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002092/1.232, allocations: 1.159 MB / 1.509 GB, free: 11.65 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005019/1.237, allocations: 2.945 MB / 1.511 GB, free: 8.578 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/1.239, allocations: 0.9269 MB / 1.512 GB, free: 7.633 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/1.24, allocations: 296.7 kB / 1.513 GB, free: 7.344 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-05/1.24, allocations: 40.67 kB / 1.513 GB, free: 7.305 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/1.241, allocations: 0.5314 MB / 1.513 GB, free: 6.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 3.737e-06/1.241, allocations: 0 / 1.513 GB, free: 6.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.00366/1.244, allocations: 1.31 MB / 1.514 GB, free: 5.418 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/1.245, allocations: 192.9 kB / 1.515 GB, free: 5.188 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009921/1.246, allocations: 0.6841 MB / 1.515 GB, free: 4.492 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/1.246, allocations: 41.7 kB / 1.515 GB, free: 4.445 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/1.246, allocations: 417.2 kB / 1.516 GB, free: 4.031 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/1.246, allocations: 301.4 kB / 1.516 GB, free: 3.734 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/1.247, allocations: 162.6 kB / 1.516 GB, free: 3.566 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002222/1.247, allocations: 394.7 kB / 1.517 GB, free: 3.172 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005854/1.247, allocations: 265.9 kB / 1.517 GB, free: 2.914 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007583/1.248, allocations: 386.5 kB / 1.517 GB, free: 2.512 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/1.249, allocations: 0.632 MB / 1.518 GB, free: 1.867 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/1.249, allocations: 0 / 1.518 GB, free: 1.867 MB / 1.186 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00224/1.252, allocations: 0.8764 MB / 1.519 GB, free: 0.9805 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.252, allocations: 4 kB / 1.519 GB, free: 0.9766 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/1.252, allocations: 3.984 kB / 1.519 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006587/1.252, allocations: 84.84 kB / 1.519 GB, free: 0.8867 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007177/1.253, allocations: 163.7 kB / 1.519 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002396/1.255, allocations: 1.634 MB / 1.52 GB, free: 14.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008542/1.256, allocations: 99.52 kB / 1.521 GB, free: 14.85 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.528e-05/1.256, allocations: 43.97 kB / 1.521 GB, free: 14.8 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: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0005099/1.257, allocations: 267.6 kB / 1.521 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002298/1.257, allocations: 95.38 kB / 1.521 GB, free: 14.44 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/1.26, allocations: 1.191 MB / 1.522 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/1.26, allocations: 12 kB / 1.522 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.26, allocations: 4 kB / 1.522 GB, free: 13.22 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/1.26, allocations: 3.984 kB / 1.522 GB, free: 13.21 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004006/1.264, allocations: 2.114 MB / 1.524 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/1.264, allocations: 0 / 1.524 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006881/1.265, allocations: 171.7 kB / 1.524 GB, free: 10.87 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/1.265, allocations: 80.77 kB / 1.524 GB, free: 10.79 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/1.265, allocations: 27.97 kB / 1.524 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/1.267, allocations: 1.659 MB / 1.526 GB, free: 8.957 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.267, allocations: 64 / 1.526 GB, free: 8.957 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/1.27, allocations: 1.104 MB / 1.527 GB, free: 7.836 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/1.27, allocations: 300.1 kB / 1.527 GB, free: 7.523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/1.271, allocations: 20 kB / 1.527 GB, free: 7.504 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/1.271, allocations: 67.92 kB / 1.528 GB, free: 7.438 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.272, allocations: 88.81 kB / 1.528 GB, free: 7.348 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.693e-05/1.272, allocations: 39.98 kB / 1.528 GB, free: 7.309 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007602/1.272, allocations: 495 kB / 1.528 GB, free: 6.832 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.272, allocations: 0 / 1.528 GB, free: 6.832 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001061/1.274, allocations: 347.1 kB / 1.528 GB, free: 6.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 (106): * Single equations (assignments): 99 * 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.004726/1.278, allocations: 2.173 MB / 1.531 GB, free: 4.473 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002036/1.28, allocations: 0.839 MB / 1.531 GB, free: 3.621 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.28, allocations: 0 / 1.531 GB, free: 3.621 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.281, allocations: 0.5316 MB / 1.532 GB, free: 3.082 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/1.283, allocations: 303.7 kB / 1.532 GB, free: 2.797 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/1.296, allocations: 6.659 MB / 1.539 GB, free: 11.98 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00085/1.297, allocations: 1.052 MB / 1.54 GB, free: 10.9 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009745/1.298, allocations: 283.2 kB / 1.54 GB, free: 10.62 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007122/1.298, allocations: 415.3 kB / 1.54 GB, free: 10.21 MB / 1.217 GB Notification: Performance of SimCode: time 9.62e-07/1.298, allocations: 0 / 1.54 GB, free: 10.21 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06028/1.359, allocations: 23.39 MB / 1.563 GB, free: 3.172 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/15.02, allocations: 11.75 kB / 1.563 GB, free: 3.16 MB / 1.232 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.887056029983796]