Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.001334/0.001334, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001457/0.001457, allocations: 177 kB / 23.36 MB, free: 1.133 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.9981/0.9981, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.528/2.528, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|relAirMas.relAirMas",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.385e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.00519/0.005214, allocations: 4.965 MB / 0.8434 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1328/0.138, allocations: 146.1 MB / 0.9861 GB, free: 6.59 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007047/0.1387, allocations: 23.81 kB / 0.9861 GB, free: 6.566 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.1392, allocations: 202.1 kB / 0.9863 GB, free: 6.367 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.1408, allocations: 0.59 MB / 0.9869 GB, free: 5.773 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00146/0.1423, allocations: 0.8529 MB / 0.9877 GB, free: 4.918 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.1436, allocations: 1.533 MB / 0.9892 GB, free: 3.379 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006438/0.1443, allocations: 464.5 kB / 0.9897 GB, free: 2.895 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1453, allocations: 0.8382 MB / 0.9905 GB, free: 2.055 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.1457, allocations: 406.7 kB / 0.9909 GB, free: 1.656 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1459, allocations: 124 kB / 0.991 GB, free: 1.535 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008333/0.1467, allocations: 0.5228 MB / 0.9915 GB, free: 1.012 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002102/0.1469, allocations: 318.9 kB / 0.9918 GB, free: 0.6992 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003076/0.1472, allocations: 414.9 kB / 0.9922 GB, free: 300 kB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.1486, allocations: 1.308 MB / 0.9935 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1486, allocations: 4 kB / 0.9935 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1486, allocations: 0 / 0.9935 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.583e-05/0.1486, allocations: 0 / 0.9935 GB, free: 14.98 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001809/0.1504, allocations: 1.444 MB / 0.9949 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.1504, allocations: 12.62 kB / 0.9949 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1515, allocations: 352 kB / 0.9952 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.1523, allocations: 0.597 MB / 0.9958 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.617e-05/0.1523, allocations: 78.12 kB / 0.9959 GB, free: 12.44 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.1524, allocations: 100 kB / 0.996 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.1545, allocations: 0.9257 MB / 0.9969 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.1545, allocations: 4 kB / 0.9969 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/0.1545, allocations: 47.98 kB / 0.9969 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/0.1545, allocations: 24 kB / 0.997 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006321/0.1552, allocations: 0.5947 MB / 0.9975 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.1574, allocations: 1.675 MB / 0.9992 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007602/0.1582, allocations: 477 kB / 0.9996 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.1583, allocations: 140.9 kB / 0.9998 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.151e-05/0.1584, allocations: 28.98 kB / 0.9998 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.1587, allocations: 467.3 kB / 1 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=90): time 2.214e-06/0.1587, allocations: 0 / 1 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of matching and sorting (n=90): time 0.001034/0.1598, allocations: 0.5811 MB / 1.001 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.094e-05/0.1599, allocations: 204.9 kB / 1.001 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.1602, allocations: 0.5016 MB / 1.001 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.1603, allocations: 49.7 kB / 1.002 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1604, allocations: 358.4 kB / 1.002 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1606, allocations: 305.4 kB / 1.002 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.1607, allocations: 170.5 kB / 1.002 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1608, allocations: 402.5 kB / 1.003 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.161, allocations: 100.8 kB / 1.003 GB, free: 5.074 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.1612, allocations: 327.5 kB / 1.003 GB, free: 4.711 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.1615, allocations: 329.3 kB / 1.003 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1615, allocations: 0 / 1.003 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0006482/0.1622, allocations: 479 kB / 1.004 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1622, allocations: 4 kB / 1.004 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1622, allocations: 0 / 1.004 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00042/0.1626, allocations: 124.7 kB / 1.004 GB, free: 3.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.163, allocations: 191.7 kB / 1.004 GB, free: 3.582 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/0.164, allocations: 1.316 MB / 1.005 GB, free: 2.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.1643, allocations: 75.55 kB / 1.006 GB, free: 2.102 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.293e-05/0.1644, allocations: 32 kB / 1.006 GB, free: 2.07 MB / 0.9636 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 (109): * Single equations (assignments): 108 * 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.0001868/0.1645, allocations: 171.2 kB / 1.006 GB, free: 1.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.1646, allocations: 79.92 kB / 1.006 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/0.1655, allocations: 0.638 MB / 1.006 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1655, allocations: 8 kB / 1.006 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.1655, allocations: 0 / 1.006 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.1655, allocations: 3.984 kB / 1.006 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001303/0.1668, allocations: 1.148 MB / 1.008 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1668, allocations: 0 / 1.008 GB, free: 15.96 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003137/0.1671, allocations: 151.8 kB / 1.008 GB, free: 15.81 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003024/0.1674, allocations: 108.8 kB / 1.008 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.1674, allocations: 31.91 kB / 1.008 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008152/0.1683, allocations: 1.329 MB / 1.009 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.1683, allocations: 3.984 kB / 1.009 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006095/0.1689, allocations: 0.5751 MB / 1.01 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.1691, allocations: 143.2 kB / 1.01 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.021e-05/0.1691, allocations: 23.94 kB / 1.01 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.1693, allocations: 50.53 kB / 1.01 GB, free: 13.43 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.1694, allocations: 64.86 kB / 1.01 GB, free: 13.37 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.1695, allocations: 27.97 kB / 1.01 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000186/0.1697, allocations: 247.3 kB / 1.01 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.1697, allocations: 4 kB / 1.01 GB, free: 13.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0005517/0.1702, allocations: 363 kB / 1.011 GB, free: 12.75 MB / 0.9792 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 (101): * Single equations (assignments): 90 * 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.001434/0.1717, allocations: 0.7518 MB / 1.011 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0006049/0.1723, allocations: 0.5253 MB / 1.012 GB, free: 11.72 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.1723, allocations: 8 kB / 1.012 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.1726, allocations: 375 kB / 1.012 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.1732, allocations: 313.9 kB / 1.013 GB, free: 11.04 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.1751, allocations: 1.563 MB / 1.014 GB, free: 9.445 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.1752, allocations: 203.1 kB / 1.014 GB, free: 9.223 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0004056/0.1756, allocations: 198.9 kB / 1.014 GB, free: 9.023 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.1761, allocations: 315 kB / 1.015 GB, free: 8.715 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/0.1761, allocations: 4 kB / 1.015 GB, free: 8.711 MB / 0.9792 GB Notification: Performance of Templates: time 0.02256/0.1987, allocations: 17.2 MB / 1.032 GB, free: 7.859 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass.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.165930425748229]