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.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001576/0.001576, allocations: 183.9 kB / 0.4902 GB, free: 2.234 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.692/1.692, allocations: 223.2 MB / 0.7992 GB, free: 14.75 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.00122/0.00122, allocations: 96.27 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004546, allocations: 10.31 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4065, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.491/4.897, allocations: 1.732 GB / 2.961 GB, free: 255.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/4.898, allocations: 100.4 kB / 2.961 GB, free: 255.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1275/5.025, allocations: 59.06 MB / 3.019 GB, free: 195.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.056e-06/5.025, allocations: 4 kB / 3.019 GB, free: 195.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001077/5.025, allocations: 16 kB / 3.019 GB, free: 195.9 MB / 1.167 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.002768/5.028, allocations: 1.175 MB / 3.02 GB, free: 194.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/5.028, allocations: 16.52 kB / 3.02 GB, free: 194.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/5.029, allocations: 186.6 kB / 3.02 GB, free: 194.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/5.031, allocations: 0.6075 MB / 3.021 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/5.031, allocations: 62 kB / 3.021 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/5.031, allocations: 72 kB / 3.021 GB, free: 193.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/5.032, allocations: 0.8442 MB / 3.022 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/5.032, allocations: 4 kB / 3.022 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.931e-05/5.032, allocations: 35.95 kB / 3.022 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/5.032, allocations: 16 kB / 3.022 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001576/5.034, allocations: 1.061 MB / 3.023 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/5.038, allocations: 2.398 MB / 3.025 GB, free: 189.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/5.039, allocations: 0.7151 MB / 3.026 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.28e-05/5.039, allocations: 32.67 kB / 3.026 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006759/5.04, allocations: 423.1 kB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of pre-optimization done (n=71): time 3.056e-06/5.04, allocations: 3.938 kB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of matching and sorting (n=71): time 0.002829/5.043, allocations: 1.077 MB / 3.027 GB, free: 186.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/5.043, allocations: 244 kB / 3.027 GB, free: 186.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008034/5.044, allocations: 0.5853 MB / 3.028 GB, free: 186.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.724e-05/5.044, allocations: 37.7 kB / 3.028 GB, free: 186 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/5.044, allocations: 372.3 kB / 3.028 GB, free: 185.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/5.044, allocations: 236.6 kB / 3.029 GB, free: 185.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/5.044, allocations: 15.94 kB / 3.029 GB, free: 185.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001029/5.044, allocations: 378.8 kB / 3.029 GB, free: 185 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/5.045, allocations: 221.2 kB / 3.029 GB, free: 184.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/5.045, allocations: 323.5 kB / 3.03 GB, free: 184.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004466/5.045, allocations: 267.1 kB / 3.03 GB, free: 184.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/5.045, allocations: 0 / 3.03 GB, free: 184.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001604/5.047, allocations: 0.7159 MB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/5.047, allocations: 8 kB / 3.031 GB, free: 183.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/5.047, allocations: 4.062 kB / 3.031 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006363/5.048, allocations: 80.77 kB / 3.031 GB, free: 183.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/5.048, allocations: 135.8 kB / 3.031 GB, free: 183.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/5.05, allocations: 1.528 MB / 3.032 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006556/5.051, allocations: 75.47 kB / 3.032 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.136e-05/5.051, allocations: 31.98 kB / 3.032 GB, free: 181.5 MB / 1.167 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 () * Number of clocked 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.0005512/5.051, allocations: 254.4 kB / 3.033 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/5.052, allocations: 75.06 kB / 3.033 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/5.054, allocations: 0.9863 MB / 3.034 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/5.054, allocations: 12 kB / 3.034 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/5.054, allocations: 0 / 3.034 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/5.054, allocations: 3.984 kB / 3.034 GB, free: 180.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/5.055, allocations: 0.8528 MB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/5.055, allocations: 0 / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/5.055, allocations: 135.8 kB / 3.035 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/5.056, allocations: 84.77 kB / 3.035 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/5.056, allocations: 23.98 kB / 3.035 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/5.058, allocations: 1.559 MB / 3.036 GB, free: 177.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/5.058, allocations: 0 / 3.036 GB, free: 177.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/5.059, allocations: 0.8345 MB / 3.037 GB, free: 176.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004467/5.06, allocations: 275.8 kB / 3.037 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001409/5.06, allocations: 27.94 kB / 3.037 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/5.06, allocations: 67.94 kB / 3.037 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/5.061, allocations: 56.92 kB / 3.037 GB, free: 176 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/5.061, allocations: 31.98 kB / 3.037 GB, free: 175.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006354/5.061, allocations: 483 kB / 3.038 GB, free: 175.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.173e-06/5.061, allocations: 0 / 3.038 GB, free: 175.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001209/5.063, allocations: 347.1 kB / 3.038 GB, free: 175.1 MB / 1.167 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) * Number of clocked states: 0 () * 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.002291/5.065, allocations: 1.07 MB / 3.039 GB, free: 174.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001539/5.066, allocations: 0.7122 MB / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/5.066, allocations: 4 kB / 3.04 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008133/5.067, allocations: 488.3 kB / 3.04 GB, free: 173 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/5.068, allocations: 237.1 kB / 3.041 GB, free: 172.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/5.072, allocations: 2.033 MB / 3.043 GB, free: 170.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004937/5.073, allocations: 1.011 MB / 3.044 GB, free: 169.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009263/5.074, allocations: 261.8 kB / 3.044 GB, free: 169.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/5.074, allocations: 95.39 kB / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.243e-06/5.074, allocations: 4 kB / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of Templates: time 0.02936/5.104, allocations: 20.07 MB / 3.064 GB, free: 149.4 MB / 1.167 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