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/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.363/2.363, allocations: 390.5 MB / 398 MB, free: 10.97 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 172.9 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.899/1.899, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009728/0.000973, allocations: 87.95 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.157e-05/2.159e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3549, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.532/4.887, allocations: 1.731 GB / 2.943 GB, free: 107.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/4.887, allocations: 93.75 kB / 2.943 GB, free: 107.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.118/5.005, allocations: 57.92 MB / 3 GB, free: 54.97 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.643e-06/5.005, allocations: 4 kB / 3 GB, free: 54.97 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.135e-05/5.005, allocations: 20 kB / 3 GB, free: 54.95 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001653/5.007, allocations: 1.063 MB / 3.001 GB, free: 53.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/5.007, allocations: 8.031 kB / 3.001 GB, free: 53.83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008005/5.008, allocations: 194.6 kB / 3.001 GB, free: 53.64 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007633/5.008, allocations: 0.5997 MB / 3.002 GB, free: 53 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/5.008, allocations: 28 kB / 3.002 GB, free: 52.97 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/5.009, allocations: 44 kB / 3.002 GB, free: 52.93 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001097/5.01, allocations: 0.964 MB / 3.003 GB, free: 51.96 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000938/5.011, allocations: 0.7154 MB / 3.004 GB, free: 51.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/5.011, allocations: 0 / 3.004 GB, free: 51.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/5.011, allocations: 4 kB / 3.004 GB, free: 51.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/5.011, allocations: 20 kB / 3.004 GB, free: 51.19 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/5.014, allocations: 2.239 MB / 3.006 GB, free: 48.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007858/5.014, allocations: 0.6319 MB / 3.006 GB, free: 48.25 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/5.015, allocations: 230.5 kB / 3.007 GB, free: 48.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.625e-05/5.015, allocations: 36.66 kB / 3.007 GB, free: 47.98 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005101/5.015, allocations: 383.6 kB / 3.007 GB, free: 47.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=71): time 2.144e-06/5.015, allocations: 0 / 3.007 GB, free: 47.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=71): time 0.001371/5.017, allocations: 0.6329 MB / 3.008 GB, free: 46.95 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/5.017, allocations: 240.1 kB / 3.008 GB, free: 46.66 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005566/5.017, allocations: 0.4944 MB / 3.008 GB, free: 46.16 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/5.017, allocations: 29.7 kB / 3.008 GB, free: 46.12 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/5.018, allocations: 376.1 kB / 3.009 GB, free: 45.75 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/5.018, allocations: 220.7 kB / 3.009 GB, free: 45.53 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/5.018, allocations: 0 / 3.009 GB, free: 45.53 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.136e-05/5.018, allocations: 374.8 kB / 3.009 GB, free: 45.15 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/5.018, allocations: 189.5 kB / 3.009 GB, free: 44.96 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/5.018, allocations: 291.5 kB / 3.01 GB, free: 44.65 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/5.019, allocations: 232.5 kB / 3.01 GB, free: 44.43 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.019, allocations: 0 / 3.01 GB, free: 44.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001182/5.02, allocations: 0.6329 MB / 3.011 GB, free: 43.78 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/5.02, allocations: 17.5 kB / 3.011 GB, free: 43.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/5.02, allocations: 0 / 3.011 GB, free: 43.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/5.02, allocations: 80.78 kB / 3.011 GB, free: 43.68 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/5.021, allocations: 135.8 kB / 3.011 GB, free: 43.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/5.023, allocations: 1.449 MB / 3.012 GB, free: 41.98 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/5.023, allocations: 67.5 kB / 3.012 GB, free: 41.91 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/5.023, allocations: 31.91 kB / 3.012 GB, free: 41.88 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001508/5.023, allocations: 112.9 kB / 3.012 GB, free: 41.76 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.782e-05/5.023, allocations: 71.11 kB / 3.012 GB, free: 41.69 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/5.025, allocations: 0.8675 MB / 3.013 GB, free: 40.81 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/5.025, allocations: 8 kB / 3.013 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/5.025, allocations: 0 / 3.013 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/5.025, allocations: 3.984 kB / 3.013 GB, free: 40.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/5.026, allocations: 0.7359 MB / 3.014 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/5.026, allocations: 0 / 3.014 GB, free: 40.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/5.026, allocations: 143.8 kB / 3.014 GB, free: 39.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004562/5.027, allocations: 80.83 kB / 3.014 GB, free: 39.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.899e-05/5.027, allocations: 15.97 kB / 3.014 GB, free: 39.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/5.028, allocations: 1.48 MB / 3.016 GB, free: 38.18 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/5.028, allocations: 3.984 kB / 3.016 GB, free: 38.18 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/5.029, allocations: 0.7426 MB / 3.016 GB, free: 37.42 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/5.03, allocations: 267.9 kB / 3.017 GB, free: 37.14 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/5.03, allocations: 4 kB / 3.017 GB, free: 37.13 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/5.03, allocations: 51.94 kB / 3.017 GB, free: 37.08 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/5.03, allocations: 56.7 kB / 3.017 GB, free: 37.03 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/5.03, allocations: 35.98 kB / 3.017 GB, free: 36.99 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004013/5.031, allocations: 406.8 kB / 3.017 GB, free: 36.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.91e-07/5.031, allocations: 0 / 3.017 GB, free: 36.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008661/5.032, allocations: 319.1 kB / 3.018 GB, free: 36.29 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001492/5.033, allocations: 1.078 MB / 3.019 GB, free: 35.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0009121/5.034, allocations: 0.632 MB / 3.019 GB, free: 34.66 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/5.034, allocations: 4 kB / 3.019 GB, free: 34.66 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005431/5.035, allocations: 436.5 kB / 3.02 GB, free: 34.23 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009313/5.036, allocations: 209 kB / 3.02 GB, free: 34.02 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002883/5.039, allocations: 1.27 MB / 3.021 GB, free: 32.73 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/5.039, allocations: 1.011 MB / 3.022 GB, free: 31.68 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007488/5.04, allocations: 253.6 kB / 3.022 GB, free: 31.43 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/5.04, allocations: 91.39 kB / 3.022 GB, free: 31.34 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/5.04, allocations: 0 / 3.022 GB, free: 31.34 MB / 1.151 GB Notification: Performance of Templates: time 0.02063/5.061, allocations: 15.29 MB / 3.037 GB, free: 16.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches