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.001387/0.001387, allocations: 73.97 kB / 19.87 MB, free: 4.602 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.001491/0.001491, allocations: 169.7 kB / 23.27 MB, free: 1.203 MB / 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.8914/0.8914, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.236/2.236, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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 2.104e-06/2.104e-06, allocations: 0 / 0.8897 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.295e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006077/0.0061, allocations: 4.584 MB / 0.8942 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1269/0.133, allocations: 143.8 MB / 1.035 GB, free: 4.77 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007707/0.1337, allocations: 23.81 kB / 1.035 GB, free: 4.746 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.1342, allocations: 198.1 kB / 1.035 GB, free: 4.551 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.1355, allocations: 0.5824 MB / 1.035 GB, free: 3.965 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001387/0.1369, allocations: 0.8608 MB / 1.036 GB, free: 3.102 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008922/0.1378, allocations: 1.448 MB / 1.038 GB, free: 1.645 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.1383, allocations: 389.9 kB / 1.038 GB, free: 1.242 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006698/0.139, allocations: 0.7678 MB / 1.039 GB, free: 484 kB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.1393, allocations: 377.5 kB / 1.039 GB, free: 108 kB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 9.532e-05/0.1394, allocations: 108 kB / 1.039 GB, free: 0 / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006811/0.1401, allocations: 491.3 kB / 1.04 GB, free: 15.52 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.1402, allocations: 299 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.1405, allocations: 367 kB / 1.04 GB, free: 14.87 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.1414, allocations: 1.234 MB / 1.042 GB, free: 13.63 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1414, allocations: 0 / 1.042 GB, free: 13.63 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1414, allocations: 0 / 1.042 GB, free: 13.63 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1414, allocations: 0 / 1.042 GB, free: 13.63 MB / 1.01 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.001363/0.1428, allocations: 1.503 MB / 1.043 GB, free: 12.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1428, allocations: 12.62 kB / 1.043 GB, free: 12.07 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000731/0.1436, allocations: 331.5 kB / 1.043 GB, free: 11.75 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006398/0.1442, allocations: 0.6908 MB / 1.044 GB, free: 11.03 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.1442, allocations: 70.12 kB / 1.044 GB, free: 10.96 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.691e-05/0.1443, allocations: 91.98 kB / 1.044 GB, free: 10.88 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006979/0.145, allocations: 0.8734 MB / 1.045 GB, free: 9.902 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.145, allocations: 4 kB / 1.045 GB, free: 9.898 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.1451, allocations: 39.98 kB / 1.045 GB, free: 9.859 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1451, allocations: 20 kB / 1.045 GB, free: 9.84 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.1457, allocations: 0.6728 MB / 1.046 GB, free: 9.168 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.1478, allocations: 2.161 MB / 1.048 GB, free: 6.949 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005252/0.1483, allocations: 458.1 kB / 1.048 GB, free: 6.492 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001526/0.1484, allocations: 161.5 kB / 1.048 GB, free: 6.332 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.562e-05/0.1485, allocations: 48.36 kB / 1.049 GB, free: 6.285 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003796/0.1489, allocations: 480.1 kB / 1.049 GB, free: 5.762 MB / 1.01 GB Notification: Performance of pre-optimization done (n=87): time 2.134e-06/0.1489, allocations: 0 / 1.049 GB, free: 5.762 MB / 1.01 GB Notification: Performance of matching and sorting (n=87): time 0.001201/0.1501, allocations: 0.7649 MB / 1.05 GB, free: 4.992 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.1502, allocations: 200.9 kB / 1.05 GB, free: 4.754 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.1505, allocations: 0.5539 MB / 1.05 GB, free: 4.188 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.1506, allocations: 49.7 kB / 1.051 GB, free: 4.133 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.1508, allocations: 459.8 kB / 1.051 GB, free: 3.676 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.151, allocations: 285.5 kB / 1.051 GB, free: 3.395 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.1511, allocations: 188.2 kB / 1.051 GB, free: 3.199 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.1513, allocations: 0.5663 MB / 1.052 GB, free: 2.621 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.1514, allocations: 109.9 kB / 1.052 GB, free: 2.516 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.1517, allocations: 353.7 kB / 1.052 GB, free: 2.121 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.152, allocations: 335 kB / 1.053 GB, free: 1.777 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.152, allocations: 4 kB / 1.053 GB, free: 1.773 MB / 1.01 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0009559/0.153, allocations: 0.6216 MB / 1.053 GB, free: 1.141 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.153, allocations: 4 kB / 1.053 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.153, allocations: 0 / 1.053 GB, free: 1.137 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.1534, allocations: 127.6 kB / 1.053 GB, free: 1.008 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.1537, allocations: 179.8 kB / 1.054 GB, free: 0.832 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4477/0.6014, allocations: 1.867 MB / 1.055 GB, free: 60.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005426/0.602, allocations: 79.09 kB / 1.056 GB, free: 60.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/0.602, allocations: 32.19 kB / 1.056 GB, free: 60.62 MB / 1.01 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.0003508/0.6024, allocations: 219.2 kB / 1.056 GB, free: 60.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.6025, allocations: 108.9 kB / 1.056 GB, free: 60.46 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/0.6034, allocations: 0.7771 MB / 1.057 GB, free: 60.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.6034, allocations: 11.5 kB / 1.057 GB, free: 60.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.6034, allocations: 3.938 kB / 1.057 GB, free: 60.39 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.6035, allocations: 3.906 kB / 1.057 GB, free: 60.39 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.6049, allocations: 1.454 MB / 1.058 GB, free: 60.04 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6049, allocations: 0 / 1.058 GB, free: 60.04 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.6052, allocations: 145.7 kB / 1.058 GB, free: 60.04 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003028/0.6055, allocations: 116 kB / 1.058 GB, free: 60.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.6055, allocations: 26.23 kB / 1.058 GB, free: 60.02 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000775/0.6063, allocations: 1.885 MB / 1.06 GB, free: 58.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6063, allocations: 3.938 kB / 1.06 GB, free: 58.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007191/0.607, allocations: 0.8168 MB / 1.061 GB, free: 58.07 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.6072, allocations: 184.9 kB / 1.061 GB, free: 58.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.6073, allocations: 28.56 kB / 1.061 GB, free: 58.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.6075, allocations: 37.22 kB / 1.061 GB, free: 58.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.392e-05/0.6076, allocations: 76.64 kB / 1.061 GB, free: 58.02 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.6076, allocations: 28.56 kB / 1.061 GB, free: 58.02 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001742/0.6078, allocations: 360.8 kB / 1.062 GB, free: 57.88 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.6078, allocations: 1 kB / 1.062 GB, free: 57.88 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006265/0.6084, allocations: 334.9 kB / 1.062 GB, free: 57.86 MB / 1.01 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.001069/0.6095, allocations: 0.6358 MB / 1.063 GB, free: 57.75 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006351/0.6101, allocations: 0.6071 MB / 1.063 GB, free: 57.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6101, allocations: 0.7812 kB / 1.063 GB, free: 57.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003227/0.6104, allocations: 456.4 kB / 1.064 GB, free: 57.34 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006252/0.611, allocations: 307.1 kB / 1.064 GB, free: 57.32 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.6127, allocations: 1.485 MB / 1.065 GB, free: 56.64 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.6128, allocations: 192.7 kB / 1.066 GB, free: 56.55 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003656/0.6132, allocations: 186.7 kB / 1.066 GB, free: 56.51 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004688/0.6137, allocations: 371.9 kB / 1.066 GB, free: 56.45 MB / 1.01 GB Notification: Performance of SimCode: time 7.62e-07/0.6137, allocations: 0 / 1.066 GB, free: 56.45 MB / 1.01 GB Notification: Performance of Templates: time 0.01931/0.633, allocations: 16.72 MB / 1.082 GB, free: 54.98 MB / 1.01 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.140710883308202]