Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001278/0.001278, 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.001478/0.001478, allocations: 209.6 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.536/1.536, 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.952/2.952, allocations: 0.49 GB / 0.7923 GB, free: 1.363 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.SolarAzimuth,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_12_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.001985/0.001985, allocations: 67.89 kB / 1.149 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005876/1.024, allocations: 5.08 MB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2088/1.232, allocations: 154.1 MB / 1.477 GB, free: 4.137 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/1.234, allocations: 22.78 kB / 1.477 GB, free: 4.125 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007896/1.234, allocations: 207.1 kB / 1.477 GB, free: 3.941 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002352/1.237, allocations: 0.5814 MB / 1.478 GB, free: 3.504 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/1.239, allocations: 0.9019 MB / 1.479 GB, free: 2.82 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002159/1.242, allocations: 1.485 MB / 1.48 GB, free: 1.898 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009201/1.243, allocations: 445.2 kB / 1.48 GB, free: 1.57 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/1.244, allocations: 0.5417 MB / 1.481 GB, free: 1.25 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000824/1.244, allocations: 0.5498 MB / 1.482 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002103/1.245, allocations: 124.5 kB / 1.482 GB, free: 0.8594 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/1.246, allocations: 0.537 MB / 1.482 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003334/1.246, allocations: 321.4 kB / 1.482 GB, free: 404 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0007122/1.247, allocations: 0.5969 MB / 1.483 GB, free: 15.95 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002806/1.25, allocations: 1.781 MB / 1.485 GB, free: 14.67 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.25, allocations: 1.344 kB / 1.485 GB, free: 14.67 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.392e-06/1.25, allocations: 0 / 1.485 GB, free: 14.67 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.76e-05/1.25, allocations: 0 / 1.485 GB, free: 14.67 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.003434/1.253, allocations: 1.571 MB / 1.486 GB, free: 13.44 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.253, allocations: 13.02 kB / 1.486 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.642e-05/1.253, allocations: 27.36 kB / 1.486 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001828/1.254, allocations: 138.9 kB / 1.487 GB, free: 13.31 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/1.256, allocations: 267.3 kB / 1.487 GB, free: 13.19 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/1.257, allocations: 0.803 MB / 1.488 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/1.257, allocations: 66.19 kB / 1.488 GB, free: 12.51 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/1.257, allocations: 86.06 kB / 1.488 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/1.259, allocations: 0.9798 MB / 1.489 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/1.259, allocations: 1.062 kB / 1.489 GB, free: 11.85 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/1.259, allocations: 45.22 kB / 1.489 GB, free: 11.81 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.684e-05/1.259, allocations: 24.73 kB / 1.489 GB, free: 11.81 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/1.262, allocations: 1.156 MB / 1.49 GB, free: 11.26 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005412/1.267, allocations: 2.951 MB / 1.493 GB, free: 8.887 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/1.269, allocations: 0.9341 MB / 1.494 GB, free: 8.352 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/1.27, allocations: 296.6 kB / 1.494 GB, free: 8.199 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.964e-05/1.27, allocations: 35.89 kB / 1.494 GB, free: 8.18 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/1.271, allocations: 0.5383 MB / 1.494 GB, free: 7.828 MB / 1.17 GB Notification: Performance of pre-optimization done (n=88): time 2.766e-06/1.271, allocations: 5.156 kB / 1.494 GB, free: 7.824 MB / 1.17 GB Notification: Performance of matching and sorting (n=88): time 0.003777/1.275, allocations: 1.303 MB / 1.496 GB, free: 6.586 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.275, allocations: 196.9 kB / 1.496 GB, free: 6.352 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.276, allocations: 0.6802 MB / 1.497 GB, free: 5.664 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-05/1.276, allocations: 41.7 kB / 1.497 GB, free: 5.617 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/1.277, allocations: 417.2 kB / 1.497 GB, free: 5.203 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002918/1.277, allocations: 301.4 kB / 1.497 GB, free: 4.906 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/1.277, allocations: 162.6 kB / 1.497 GB, free: 4.738 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002125/1.277, allocations: 390.8 kB / 1.498 GB, free: 4.348 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/1.278, allocations: 269.8 kB / 1.498 GB, free: 4.086 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/1.279, allocations: 382.5 kB / 1.498 GB, free: 3.688 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001242/1.28, allocations: 0.6281 MB / 1.499 GB, free: 3.047 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.28, allocations: 4 kB / 1.499 GB, free: 3.043 MB / 1.17 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002278/1.282, allocations: 0.8764 MB / 1.5 GB, free: 2.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.282, allocations: 5.875 kB / 1.5 GB, free: 2.156 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.282, allocations: 0 / 1.5 GB, free: 2.156 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/1.283, allocations: 84.83 kB / 1.5 GB, free: 2.07 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007329/1.284, allocations: 167.7 kB / 1.5 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002487/1.286, allocations: 1.627 MB / 1.502 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/1.287, allocations: 111.6 kB / 1.502 GB, free: 24 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.287, allocations: 32.03 kB / 1.502 GB, free: 15.99 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: 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.0006048/1.288, allocations: 273.3 kB / 1.502 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/1.288, allocations: 91.44 kB / 1.502 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/1.291, allocations: 1.199 MB / 1.503 GB, free: 14.41 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/1.291, allocations: 12 kB / 1.503 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/1.291, allocations: 0 / 1.503 GB, free: 14.4 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/1.291, allocations: 7.969 kB / 1.503 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004272/1.295, allocations: 2.111 MB / 1.506 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.295, allocations: 3.938 kB / 1.506 GB, free: 12.22 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/1.296, allocations: 167.7 kB / 1.506 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004666/1.296, allocations: 76.78 kB / 1.506 GB, free: 11.98 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/1.297, allocations: 31.97 kB / 1.506 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/1.299, allocations: 1.658 MB / 1.507 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.299, allocations: 0 / 1.507 GB, free: 10.14 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/1.301, allocations: 1.1 MB / 1.508 GB, free: 9.023 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005346/1.302, allocations: 300.1 kB / 1.509 GB, free: 8.711 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/1.302, allocations: 23.98 kB / 1.509 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/1.303, allocations: 71.92 kB / 1.509 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/1.303, allocations: 80.83 kB / 1.509 GB, free: 8.535 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/1.303, allocations: 43.97 kB / 1.509 GB, free: 8.492 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000727/1.304, allocations: 495 kB / 1.509 GB, free: 8.012 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.304, allocations: 0 / 1.509 GB, free: 8.012 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001149/1.305, allocations: 347.1 kB / 1.51 GB, free: 7.672 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 (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.004746/1.31, allocations: 2.173 MB / 1.512 GB, free: 5.652 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002032/1.312, allocations: 0.8391 MB / 1.513 GB, free: 4.797 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.312, allocations: 0 / 1.513 GB, free: 4.797 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/1.313, allocations: 0.5274 MB / 1.513 GB, free: 4.262 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00156/1.314, allocations: 313.9 kB / 1.514 GB, free: 3.977 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/1.327, allocations: 6.658 MB / 1.52 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008086/1.328, allocations: 1.051 MB / 1.521 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001042/1.329, allocations: 283.1 kB / 1.521 GB, free: 11.8 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007082/1.329, allocations: 423.2 kB / 1.522 GB, free: 11.39 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/1.329, allocations: 0 / 1.522 GB, free: 11.39 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06169/1.391, allocations: 23.36 MB / 1.545 GB, free: 4.332 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/15.07, allocations: 19.06 kB / 1.545 GB, free: 4.32 MB / 1.217 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --stepSize=345.6 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.769099690020084]