Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009717/0.0009717, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.0009318/0.0009318, allocations: 185 kB / 24.09 MB, free: 412 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.895/0.895, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.788/1.788, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.806e-05, allocations: 2.312 kB / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004572/0.00459, allocations: 4.583 MB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.1196/0.1242, allocations: 143.8 MB / 0.9569 GB, free: 12.59 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006344/0.1248, allocations: 23.81 kB / 0.9569 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.1253, allocations: 194.2 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.1266, allocations: 0.5784 MB / 0.9577 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.1278, allocations: 0.8646 MB / 0.9585 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.129, allocations: 1.448 MB / 0.96 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004955/0.1294, allocations: 397.8 kB / 0.9603 GB, free: 9.062 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007449/0.1302, allocations: 0.7563 MB / 0.9611 GB, free: 8.305 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003484/0.1305, allocations: 378.8 kB / 0.9614 GB, free: 7.934 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001053/0.1306, allocations: 112 kB / 0.9615 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006445/0.1313, allocations: 495.3 kB / 0.962 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.1315, allocations: 291 kB / 0.9623 GB, free: 7.055 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.1317, allocations: 371.1 kB / 0.9626 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1328, allocations: 1.241 MB / 0.9639 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1328, allocations: 0 / 0.9639 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1328, allocations: 0 / 0.9639 GB, free: 5.445 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.1328, allocations: 3.938 kB / 0.9639 GB, free: 5.441 MB / 0.9167 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.001367/0.1342, allocations: 1.511 MB / 0.9653 GB, free: 3.883 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1342, allocations: 12.03 kB / 0.9653 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/0.135, allocations: 315.6 kB / 0.9656 GB, free: 3.562 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.1356, allocations: 0.7111 MB / 0.9663 GB, free: 2.824 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.1356, allocations: 66.12 kB / 0.9664 GB, free: 2.758 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.217e-05/0.1357, allocations: 91.94 kB / 0.9665 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008831/0.1366, allocations: 0.8773 MB / 0.9673 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1366, allocations: 0 / 0.9673 GB, free: 1.695 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.496e-05/0.1366, allocations: 40 kB / 0.9674 GB, free: 1.656 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1367, allocations: 20 kB / 0.9674 GB, free: 1.637 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005704/0.1372, allocations: 0.6728 MB / 0.9681 GB, free: 0.9609 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.1392, allocations: 2.161 MB / 0.9702 GB, free: 14.75 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005292/0.1397, allocations: 450.2 kB / 0.9706 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1399, allocations: 157.6 kB / 0.9708 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-05/0.1399, allocations: 60.36 kB / 0.9708 GB, free: 14.08 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003649/0.1403, allocations: 464.1 kB / 0.9713 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=87): time 2.024e-06/0.1403, allocations: 0 / 0.9713 GB, free: 13.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=87): time 0.001173/0.1415, allocations: 0.7688 MB / 0.972 GB, free: 12.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/0.1416, allocations: 204.9 kB / 0.9722 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.1419, allocations: 0.5578 MB / 0.9727 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.142, allocations: 45.7 kB / 0.9728 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1422, allocations: 447.9 kB / 0.9732 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001458/0.1423, allocations: 297.4 kB / 0.9735 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.1425, allocations: 184.2 kB / 0.9737 GB, free: 11.01 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0003522/0.1428, allocations: 0.5663 MB / 0.9742 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.143, allocations: 113.9 kB / 0.9743 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.1432, allocations: 361.7 kB / 0.9747 GB, free: 9.914 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.1435, allocations: 347 kB / 0.975 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1435, allocations: 0 / 0.975 GB, free: 9.562 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.0007548/0.1443, allocations: 0.6138 MB / 0.9756 GB, free: 8.938 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1443, allocations: 4 kB / 0.9756 GB, free: 8.934 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.1443, allocations: 4 kB / 0.9756 GB, free: 8.93 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000398/0.1447, allocations: 127.5 kB / 0.9757 GB, free: 8.801 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.1451, allocations: 175.8 kB / 0.9759 GB, free: 8.629 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.1462, allocations: 1.876 MB / 0.9777 GB, free: 6.637 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/0.1465, allocations: 83.47 kB / 0.9778 GB, free: 6.555 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-05/0.1465, allocations: 23.98 kB / 0.9778 GB, free: 6.531 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.0001807/0.1467, allocations: 219.1 kB / 0.9781 GB, free: 6.305 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.1468, allocations: 115.4 kB / 0.9782 GB, free: 6.191 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009409/0.1477, allocations: 0.7833 MB / 0.9789 GB, free: 5.383 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1477, allocations: 12 kB / 0.9789 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1477, allocations: 4 kB / 0.9789 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1477, allocations: 3.984 kB / 0.9789 GB, free: 5.363 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.1492, allocations: 1.46 MB / 0.9804 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1492, allocations: 0 / 0.9804 GB, free: 3.855 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.1495, allocations: 143.8 kB / 0.9805 GB, free: 3.715 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.1498, allocations: 111.6 kB / 0.9806 GB, free: 3.602 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.234e-05/0.1499, allocations: 23.98 kB / 0.9806 GB, free: 3.578 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001167/0.151, allocations: 1.887 MB / 0.9825 GB, free: 1.574 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.151, allocations: 3.984 kB / 0.9825 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.1518, allocations: 0.8102 MB / 0.9833 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.152, allocations: 199.2 kB / 0.9835 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.1521, allocations: 27.92 kB / 0.9835 GB, free: 0.5117 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1523, allocations: 44 kB / 0.9835 GB, free: 480 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.1524, allocations: 72.86 kB / 0.9836 GB, free: 408 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.1524, allocations: 27.98 kB / 0.9836 GB, free: 380 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001951/0.1526, allocations: 354.9 kB / 0.984 GB, free: 28 kB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.1526, allocations: 0 / 0.984 GB, free: 28 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005685/0.1532, allocations: 339.1 kB / 0.9843 GB, free: 15.7 MB / 0.948 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 (98): * Single equations (assignments): 87 * 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.001092/0.1543, allocations: 0.6316 MB / 0.9849 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000629/0.1549, allocations: 0.6015 MB / 0.9855 GB, free: 14.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1549, allocations: 4 kB / 0.9855 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.1553, allocations: 456.9 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006352/0.1559, allocations: 318.8 kB / 0.9862 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/0.1577, allocations: 1.487 MB / 0.9877 GB, free: 12.34 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001135/0.1578, allocations: 198.9 kB / 0.9879 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005512/0.1584, allocations: 186.8 kB / 0.9881 GB, free: 11.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004993/0.1589, allocations: 369.9 kB / 0.9884 GB, free: 11.56 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/0.1589, allocations: 4 kB / 0.9884 GB, free: 11.56 MB / 0.948 GB Notification: Performance of Templates: time 0.01859/0.1775, allocations: 16.75 MB / 1.005 GB, free: 11.13 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.417162958998233]