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.001043/0.001043, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001003/0.001003, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 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 0.9681/0.9681, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.059/2.059, allocations: 429.5 MB / 0.6743 GB, free: 3.91 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.8794 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.626e-05, allocations: 6.25 kB / 0.8794 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004314/0.00433, allocations: 4.592 MB / 0.8839 GB, free: 316 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.5994/0.6037, allocations: 143.8 MB / 1.024 GB, free: 19.13 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6049, allocations: 21.12 kB / 1.024 GB, free: 19.13 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0005969/0.6054, allocations: 196.1 kB / 1.025 GB, free: 19.13 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.6072, allocations: 0.5726 MB / 1.025 GB, free: 19.13 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.6092, allocations: 0.8673 MB / 1.026 GB, free: 19.13 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.002137/0.6113, allocations: 1.443 MB / 1.027 GB, free: 19.12 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007865/0.6121, allocations: 394.2 kB / 1.028 GB, free: 19.05 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.6136, allocations: 0.7666 MB / 1.028 GB, free: 19.05 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.6144, allocations: 374.1 kB / 1.029 GB, free: 19.05 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.6147, allocations: 110.2 kB / 1.029 GB, free: 19.05 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.6158, allocations: 494.2 kB / 1.029 GB, free: 19.05 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.6161, allocations: 293.6 kB / 1.03 GB, free: 19.05 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006606/0.6167, allocations: 372.1 kB / 1.03 GB, free: 19.05 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002147/0.6189, allocations: 1.229 MB / 1.031 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6189, allocations: 2.078 kB / 1.031 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6189, allocations: 0 / 1.031 GB, free: 18.94 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.343e-05/0.6189, allocations: 0 / 1.031 GB, free: 18.94 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002548/0.6215, allocations: 1.512 MB / 1.033 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.6215, allocations: 11.17 kB / 1.033 GB, free: 18.12 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.6226, allocations: 315.5 kB / 1.033 GB, free: 18.03 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.6236, allocations: 0.7014 MB / 1.034 GB, free: 17.78 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.6237, allocations: 71 kB / 1.034 GB, free: 17.78 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.6238, allocations: 88.94 kB / 1.034 GB, free: 17.78 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.6249, allocations: 0.8786 MB / 1.035 GB, free: 17.34 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6249, allocations: 1.562 kB / 1.035 GB, free: 17.34 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.39e-05/0.625, allocations: 36.81 kB / 1.035 GB, free: 17.34 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.625, allocations: 22.14 kB / 1.035 GB, free: 17.34 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.6261, allocations: 0.6738 MB / 1.035 GB, free: 17.33 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.629, allocations: 2.155 MB / 1.038 GB, free: 16.41 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007521/0.6297, allocations: 460.4 kB / 1.038 GB, free: 16.36 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.6299, allocations: 157.2 kB / 1.038 GB, free: 16.35 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.117e-05/0.63, allocations: 27.55 kB / 1.038 GB, free: 16.35 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.6305, allocations: 479.8 kB / 1.039 GB, free: 16.13 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 4.369e-06/0.6305, allocations: 0.9688 kB / 1.039 GB, free: 16.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001578/0.6321, allocations: 0.7656 MB / 1.039 GB, free: 16.01 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.6321, allocations: 201.9 kB / 1.04 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.6326, allocations: 0.555 MB / 1.04 GB, free: 15.59 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.6327, allocations: 47.16 kB / 1.04 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.6329, allocations: 451.1 kB / 1.041 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.6331, allocations: 296.6 kB / 1.041 GB, free: 15.14 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.6333, allocations: 190.6 kB / 1.041 GB, free: 15.11 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6335, allocations: 0.5654 MB / 1.042 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.6337, allocations: 111.4 kB / 1.042 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.634, allocations: 352.4 kB / 1.042 GB, free: 14.39 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.6344, allocations: 340.8 kB / 1.042 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6344, allocations: 1.531 kB / 1.042 GB, free: 14.32 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001011/0.6354, allocations: 0.6139 MB / 1.043 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.6354, allocations: 7.141 kB / 1.043 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.6354, allocations: 1.062 kB / 1.043 GB, free: 14.21 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004922/0.6359, allocations: 128.5 kB / 1.043 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.6364, allocations: 179.3 kB / 1.043 GB, free: 14.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.6375, allocations: 1.867 MB / 1.045 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.6379, allocations: 80.38 kB / 1.045 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.638, allocations: 32.23 kB / 1.045 GB, free: 12.44 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0002296/0.6382, allocations: 220.3 kB / 1.045 GB, free: 12.27 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.6384, allocations: 114.1 kB / 1.045 GB, free: 12.23 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.6396, allocations: 0.7789 MB / 1.046 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.6396, allocations: 9.344 kB / 1.046 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6396, allocations: 5.031 kB / 1.046 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6397, allocations: 6.094 kB / 1.046 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.6416, allocations: 1.448 MB / 1.048 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6416, allocations: 0 / 1.048 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000324/0.6419, allocations: 147.8 kB / 1.048 GB, free: 11.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003903/0.6423, allocations: 112.8 kB / 1.048 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.6424, allocations: 26.47 kB / 1.048 GB, free: 11.69 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009634/0.6434, allocations: 1.885 MB / 1.05 GB, free: 9.957 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6434, allocations: 5.156 kB / 1.05 GB, free: 9.953 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.6444, allocations: 0.8118 MB / 1.051 GB, free: 9.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.6447, allocations: 190.9 kB / 1.051 GB, free: 9.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.094e-05/0.6448, allocations: 27.98 kB / 1.051 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.645, allocations: 40.59 kB / 1.051 GB, free: 9.613 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.6452, allocations: 72.91 kB / 1.051 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.6452, allocations: 29.17 kB / 1.051 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0003267/0.6455, allocations: 361.2 kB / 1.051 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6455, allocations: 1.844 kB / 1.051 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001022/0.6466, allocations: 333.2 kB / 1.052 GB, free: 9.414 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001323/0.6479, allocations: 0.6218 MB / 1.052 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000917/0.6488, allocations: 0.6104 MB / 1.053 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6488, allocations: 5.281 kB / 1.053 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.6493, allocations: 454.6 kB / 1.053 GB, free: 8.824 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/0.6501, allocations: 320.2 kB / 1.054 GB, free: 8.793 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.6525, allocations: 1.482 MB / 1.055 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.6526, allocations: 194.5 kB / 1.055 GB, free: 8.008 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0005601/0.6532, allocations: 185 kB / 1.055 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006236/0.6538, allocations: 366.6 kB / 1.056 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of SimCode: time 1.172e-06/0.6538, allocations: 1 kB / 1.056 GB, free: 7.898 MB / 0.9323 GB Notification: Performance of Templates: time 0.02494/0.6788, allocations: 16.98 MB / 1.072 GB, free: 6.219 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.4168532392941415]