Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 110.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001963/0.001964, allocations: 187 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9015/0.903, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005768/0.9088, allocations: 4.344 MB / 1.093 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1917/1.101, allocations: 150.6 MB / 1.24 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/1.102, allocations: 16.03 kB / 1.24 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006564/1.102, allocations: 176.2 kB / 1.24 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/1.105, allocations: 0.497 MB / 1.241 GB, free: 476 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/1.107, allocations: 0.8262 MB / 1.241 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001738/1.109, allocations: 1.303 MB / 1.243 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001037/1.11, allocations: 0.6182 MB / 1.243 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009448/1.111, allocations: 471.6 kB / 1.244 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006922/1.112, allocations: 490.6 kB / 1.244 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/1.112, allocations: 119.1 kB / 1.244 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/1.113, allocations: 486 kB / 1.245 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003133/1.113, allocations: 290.1 kB / 1.245 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005548/1.114, allocations: 0.543 MB / 1.246 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/1.116, allocations: 1.594 MB / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.116, allocations: 0 / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/1.116, allocations: 0 / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.619e-05/1.116, allocations: 0 / 1.247 GB, free: 11.5 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002644/1.119, allocations: 1.411 MB / 1.248 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/1.119, allocations: 8.031 kB / 1.248 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009045/1.12, allocations: 187.4 kB / 1.249 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/1.121, allocations: 0.7617 MB / 1.249 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/1.121, allocations: 62 kB / 1.249 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.121, allocations: 80 kB / 1.25 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001537/1.122, allocations: 0.9145 MB / 1.25 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.123, allocations: 0 / 1.25 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/1.123, allocations: 35.98 kB / 1.25 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/1.123, allocations: 20 kB / 1.25 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/1.124, allocations: 1.108 MB / 1.252 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003836/1.128, allocations: 2.458 MB / 1.254 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.13, allocations: 0.7863 MB / 1.255 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005432/1.13, allocations: 306.6 kB / 1.255 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.306e-05/1.13, allocations: 36.59 kB / 1.255 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008316/1.131, allocations: 0.4913 MB / 1.256 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 2.174e-06/1.131, allocations: 0 / 1.256 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.00315/1.134, allocations: 1.186 MB / 1.257 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/1.134, allocations: 188.6 kB / 1.257 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/1.135, allocations: 0.6292 MB / 1.257 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/1.135, allocations: 41.7 kB / 1.258 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/1.136, allocations: 400.3 kB / 1.258 GB, free: 100 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/1.136, allocations: 256.3 kB / 1.258 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002401/1.136, allocations: 162.5 kB / 1.258 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.136, allocations: 394.7 kB / 1.259 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/1.137, allocations: 261.9 kB / 1.259 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000614/1.137, allocations: 359.1 kB / 1.259 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.139, allocations: 0.6072 MB / 1.26 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.139, allocations: 0 / 1.26 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001921/1.141, allocations: 0.8449 MB / 1.261 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/1.141, allocations: 10.34 kB / 1.261 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/1.141, allocations: 0 / 1.261 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005903/1.141, allocations: 80.84 kB / 1.261 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006616/1.142, allocations: 167.7 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/1.144, allocations: 1.622 MB / 1.263 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007349/1.145, allocations: 99.38 kB / 1.263 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/1.145, allocations: 31.98 kB / 1.263 GB, free: 11.03 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (95): * Single equations (assignments): 94 * 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.0004486/1.145, allocations: 275.5 kB / 1.263 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/1.145, allocations: 82.97 kB / 1.263 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/1.148, allocations: 1.058 MB / 1.264 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.148, allocations: 12 kB / 1.264 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/1.148, allocations: 3.938 kB / 1.264 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/1.148, allocations: 3.984 kB / 1.264 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/1.149, allocations: 0.8841 MB / 1.265 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.149, allocations: 0 / 1.265 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/1.149, allocations: 139.8 kB / 1.265 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004295/1.15, allocations: 80.72 kB / 1.265 GB, free: 8.418 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/1.15, allocations: 23.98 kB / 1.265 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001904/1.152, allocations: 1.666 MB / 1.267 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.152, allocations: 64 / 1.267 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00195/1.154, allocations: 0.92 MB / 1.268 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/1.154, allocations: 271.7 kB / 1.268 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/1.154, allocations: 16 kB / 1.268 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006054/1.155, allocations: 67.98 kB / 1.268 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.155, allocations: 64.91 kB / 1.268 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/1.155, allocations: 47.91 kB / 1.268 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000573/1.156, allocations: 451 kB / 1.269 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.156, allocations: 0 / 1.269 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008242/1.157, allocations: 311.3 kB / 1.269 GB, free: 4.426 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001371/1.158, allocations: 0.6122 MB / 1.269 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001678/1.16, allocations: 0.8389 MB / 1.27 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.16, allocations: 0 / 1.27 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008982/1.161, allocations: 0.5083 MB / 1.271 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.162, allocations: 279.3 kB / 1.271 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/1.166, allocations: 1.776 MB / 1.273 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006166/1.166, allocations: 1.012 MB / 1.274 GB, free: 15.52 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003163/1.166, allocations: 119.4 kB / 1.274 GB, free: 15.4 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.166, allocations: 0 / 1.274 GB, free: 15.4 MB / 1.014 GB Notification: Performance of Templates: time 0.02417/1.191, allocations: 18.35 MB / 1.292 GB, free: 13.11 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time