Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001353/0.001353, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009771/0.0009771, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9308/0.9308, allocations: 177.1 MB / 204.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.725/1.725, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0.7656 kB / 0.7871 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.588e-05, allocations: 2.906 kB / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005601/0.005626, allocations: 5.784 MB / 0.7927 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.1277/0.1334, allocations: 146.8 MB / 0.9361 GB, free: 3.473 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007111/0.1341, allocations: 23.81 kB / 0.9361 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.1346, allocations: 253.6 kB / 0.9363 GB, free: 3.199 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001484/0.1361, allocations: 0.6714 MB / 0.937 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.1376, allocations: 0.9037 MB / 0.9379 GB, free: 1.617 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1392, allocations: 1.747 MB / 0.9396 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007647/0.1399, allocations: 0.5853 MB / 0.9401 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.141, allocations: 0.9979 MB / 0.9411 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005218/0.1416, allocations: 490.5 kB / 0.9416 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.1417, allocations: 152 kB / 0.9417 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008261/0.1426, allocations: 0.5228 MB / 0.9422 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.1428, allocations: 374.7 kB / 0.9426 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0006445/0.1434, allocations: 0.4909 MB / 0.9431 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.145, allocations: 1.494 MB / 0.9445 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.145, allocations: 0 / 0.9445 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.333e-06/0.145, allocations: 4 kB / 0.9445 GB, free: 10.72 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.827e-05/0.145, allocations: 0 / 0.9445 GB, free: 10.72 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.00197/0.147, allocations: 1.802 MB / 0.9463 GB, free: 8.871 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.147, allocations: 8.031 kB / 0.9463 GB, free: 8.863 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009772/0.148, allocations: 407.2 kB / 0.9467 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/0.1489, allocations: 0.8199 MB / 0.9475 GB, free: 7.613 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.755e-05/0.149, allocations: 94.56 kB / 0.9476 GB, free: 7.52 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.1491, allocations: 124 kB / 0.9477 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.1504, allocations: 1.154 MB / 0.9488 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1504, allocations: 0 / 0.9488 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.909e-05/0.1504, allocations: 52 kB / 0.9489 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.1505, allocations: 36 kB / 0.9489 GB, free: 6.039 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.1518, allocations: 0.8875 MB / 0.9498 GB, free: 5.141 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.155, allocations: 2.835 MB / 0.9525 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008307/0.1558, allocations: 0.55 MB / 0.9531 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.1561, allocations: 194.6 kB / 0.9533 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.1561, allocations: 28.97 kB / 0.9533 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005273/0.1567, allocations: 0.5091 MB / 0.9538 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/0.1567, allocations: 0 / 0.9538 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of matching and sorting (n=95): time 0.001618/0.1583, allocations: 0.8979 MB / 0.9547 GB, free: 4 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.591e-05/0.1584, allocations: 204.9 kB / 0.9549 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005166/0.1589, allocations: 0.6245 MB / 0.9555 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.759e-05/0.1589, allocations: 57.62 kB / 0.9555 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.1592, allocations: 0.5739 MB / 0.9561 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.1594, allocations: 325.2 kB / 0.9564 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.1596, allocations: 200.2 kB / 0.9566 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004777/0.1601, allocations: 0.5703 MB / 0.9571 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.1603, allocations: 153.9 kB / 0.9573 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.1607, allocations: 405.8 kB / 0.9577 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000538/0.1612, allocations: 427.1 kB / 0.9581 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1612, allocations: 0 / 0.9581 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001115/0.1624, allocations: 0.7386 MB / 0.9588 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.1624, allocations: 5.562 kB / 0.9588 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1624, allocations: 0 / 0.9588 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004666/0.1629, allocations: 131.6 kB / 0.9589 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.1633, allocations: 195.7 kB / 0.9591 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.1647, allocations: 1.902 MB / 0.961 GB, free: 9.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.165, allocations: 83.48 kB / 0.9611 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/0.1651, allocations: 39.98 kB / 0.9611 GB, free: 9.113 MB / 0.9167 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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 (117): * Single equations (assignments): 116 * 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.0002788/0.1654, allocations: 227.2 kB / 0.9613 GB, free: 8.879 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1655, allocations: 123.5 kB / 0.9614 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.1668, allocations: 0.8973 MB / 0.9623 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1668, allocations: 12 kB / 0.9623 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.1668, allocations: 0 / 0.9623 GB, free: 7.832 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.1668, allocations: 3.984 kB / 0.9623 GB, free: 7.828 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.1691, allocations: 1.784 MB / 0.9641 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1691, allocations: 0 / 0.9641 GB, free: 5.984 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003201/0.1695, allocations: 155.7 kB / 0.9642 GB, free: 5.832 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.1698, allocations: 119.6 kB / 0.9643 GB, free: 5.711 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.1698, allocations: 31.92 kB / 0.9644 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.1709, allocations: 1.918 MB / 0.9662 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1709, allocations: 0 / 0.9662 GB, free: 3.637 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.172, allocations: 0.9273 MB / 0.9671 GB, free: 2.68 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.1722, allocations: 207 kB / 0.9673 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.981e-05/0.1723, allocations: 24 kB / 0.9674 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.1725, allocations: 40 kB / 0.9674 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1726, allocations: 84.78 kB / 0.9675 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.1727, allocations: 35.98 kB / 0.9675 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003205/0.173, allocations: 422.9 kB / 0.9679 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.173, allocations: 4 kB / 0.9679 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007142/0.1737, allocations: 402.8 kB / 0.9683 GB, free: 1.492 MB / 0.9167 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 (106): * Single equations (assignments): 95 * 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.001219/0.1749, allocations: 0.6409 MB / 0.9689 GB, free: 1.023 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009256/0.1758, allocations: 0.7186 MB / 0.9696 GB, free: 288 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1759, allocations: 0 / 0.9696 GB, free: 288 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.1763, allocations: 497 kB / 0.9701 GB, free: 15.78 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000738/0.1771, allocations: 335.9 kB / 0.9704 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.1798, allocations: 1.865 MB / 0.9723 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.18, allocations: 223.4 kB / 0.9725 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004833/0.1804, allocations: 263.3 kB / 0.9727 GB, free: 13.05 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.1806, allocations: 112.5 kB / 0.9728 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of SimCode: time 8.82e-07/0.1806, allocations: 0 / 0.9728 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of Templates: time 0.02075/0.2014, allocations: 17.26 MB / 0.9897 GB, free: 11.97 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.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.565222872886807]