Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.0009223/0.0009223, allocations: 80.75 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.0009527/0.0009527, allocations: 181 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.9203/0.9203, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.381/2.381, allocations: 438.8 MB / 0.6826 GB, free: 13.56 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.217e-05, allocations: 12.44 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.004478/0.00449, allocations: 4.642 MB / 0.8431 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.1239/0.1284, allocations: 146 MB / 0.9857 GB, free: 6.957 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00059/0.129, allocations: 23.81 kB / 0.9857 GB, free: 6.934 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.1294, allocations: 202.1 kB / 0.9859 GB, free: 6.734 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.1306, allocations: 0.5745 MB / 0.9865 GB, free: 6.156 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001243/0.1318, allocations: 0.8685 MB / 0.9873 GB, free: 5.285 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.1328, allocations: 1.46 MB / 0.9887 GB, free: 3.82 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004452/0.1333, allocations: 405.9 kB / 0.9891 GB, free: 3.391 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006436/0.1339, allocations: 0.7679 MB / 0.9899 GB, free: 2.621 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000561/0.1345, allocations: 382.8 kB / 0.9902 GB, free: 2.246 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 9.389e-05/0.1346, allocations: 112 kB / 0.9904 GB, free: 2.137 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000627/0.1352, allocations: 495.3 kB / 0.9908 GB, free: 1.652 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002312/0.1354, allocations: 291 kB / 0.9911 GB, free: 1.367 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.1356, allocations: 379 kB / 0.9915 GB, free: 0.9961 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009295/0.1366, allocations: 1.238 MB / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1366, allocations: 0 / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1366, allocations: 0 / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.1366, allocations: 0 / 0.9927 GB, free: 15.75 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.001228/0.1378, allocations: 1.374 MB / 0.994 GB, free: 14.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.1378, allocations: 8.625 kB / 0.994 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007035/0.1385, allocations: 300.2 kB / 0.9943 GB, free: 14.05 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.1392, allocations: 0.5823 MB / 0.9949 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.1392, allocations: 74.11 kB / 0.995 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.1393, allocations: 88 kB / 0.995 GB, free: 13.28 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.1399, allocations: 0.8641 MB / 0.9959 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1399, allocations: 0 / 0.9959 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.1399, allocations: 32 kB / 0.9959 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.14, allocations: 27.94 kB / 0.9959 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005377/0.1405, allocations: 0.5752 MB / 0.9965 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.1425, allocations: 1.625 MB / 0.9981 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.143, allocations: 414.3 kB / 0.9985 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.1431, allocations: 131.8 kB / 0.9986 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.991e-05/0.1431, allocations: 32.92 kB / 0.9986 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.1435, allocations: 459.3 kB / 0.9991 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=88): time 2.895e-06/0.1435, allocations: 0 / 0.9991 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of matching and sorting (n=88): time 0.0009578/0.1445, allocations: 0.5693 MB / 0.9996 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.1445, allocations: 200.9 kB / 0.9998 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.1448, allocations: 0.5016 MB / 1 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/0.1449, allocations: 53.69 kB / 1 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.145, allocations: 334.3 kB / 1.001 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.1452, allocations: 289.5 kB / 1.001 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.1453, allocations: 174.4 kB / 1.001 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1454, allocations: 398.6 kB / 1.002 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.1456, allocations: 92.77 kB / 1.002 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.1458, allocations: 319.6 kB / 1.002 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.1461, allocations: 325.3 kB / 1.002 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1461, allocations: 0 / 1.002 GB, free: 5.598 MB / 0.9636 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.0006244/0.1467, allocations: 478.9 kB / 1.003 GB, free: 5.117 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1467, allocations: 4 kB / 1.003 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1467, allocations: 0 / 1.003 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003929/0.1471, allocations: 132.7 kB / 1.003 GB, free: 4.98 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003558/0.1475, allocations: 175.7 kB / 1.003 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.1487, allocations: 1.309 MB / 1.004 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.149, allocations: 75.59 kB / 1.004 GB, free: 3.336 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.149, allocations: 24 kB / 1.004 GB, free: 3.312 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 (108): * Single equations (assignments): 107 * 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.0001727/0.1492, allocations: 179.2 kB / 1.005 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/0.1492, allocations: 83.92 kB / 1.005 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000781/0.15, allocations: 0.6106 MB / 1.005 GB, free: 2.418 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.15, allocations: 11.94 kB / 1.005 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.15, allocations: 0 / 1.005 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.15, allocations: 3.984 kB / 1.005 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1513, allocations: 1.101 MB / 1.006 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1513, allocations: 0 / 1.006 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.1515, allocations: 139.8 kB / 1.006 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.1518, allocations: 108.8 kB / 1.007 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.1519, allocations: 23.97 kB / 1.007 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007903/0.1526, allocations: 1.328 MB / 1.008 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1526, allocations: 7.938 kB / 1.008 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.1532, allocations: 0.5556 MB / 1.008 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.1534, allocations: 151.1 kB / 1.009 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.1535, allocations: 27.98 kB / 1.009 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.1537, allocations: 42.31 kB / 1.009 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.1538, allocations: 64.86 kB / 1.009 GB, free: 14.71 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.1538, allocations: 23.98 kB / 1.009 GB, free: 14.69 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001829/0.154, allocations: 251.3 kB / 1.009 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.154, allocations: 0 / 1.009 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004833/0.1545, allocations: 335.1 kB / 1.009 GB, free: 14.11 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 (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.001397/0.1559, allocations: 0.7682 MB / 1.01 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005717/0.1564, allocations: 0.5097 MB / 1.01 GB, free: 13.09 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.1564, allocations: 8 kB / 1.01 GB, free: 13.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.1567, allocations: 371.1 kB / 1.011 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.1573, allocations: 317 kB / 1.011 GB, free: 12.42 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1593, allocations: 1.472 MB / 1.013 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.1595, allocations: 195 kB / 1.013 GB, free: 10.69 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.1598, allocations: 190.8 kB / 1.013 GB, free: 10.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000485/0.1603, allocations: 307 kB / 1.013 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of SimCode: time 7.01e-07/0.1603, allocations: 0 / 1.013 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.01857/0.1789, allocations: 16.84 MB / 1.03 GB, free: 9.699 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_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.724939699284732]