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.00138/0.00138, allocations: 109 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.00136/0.00136, allocations: 187 kB / 17.34 MB, free: 5.73 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.14 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.273/2.273, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 71.88 kB / 0.9515 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8985, allocations: 140.4 MB / 1.089 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005962/0.9045, allocations: 4.346 MB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1931/1.098, allocations: 150.6 MB / 1.24 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/1.099, allocations: 14.94 kB / 1.24 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006641/1.1, allocations: 172.2 kB / 1.24 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/1.102, allocations: 0.5008 MB / 1.241 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/1.104, allocations: 0.8282 MB / 1.241 GB, free: 56 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001719/1.106, allocations: 1.299 MB / 1.243 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009238/1.107, allocations: 0.613 MB / 1.243 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007736/1.107, allocations: 480.7 kB / 1.244 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005925/1.108, allocations: 484.5 kB / 1.244 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001635/1.108, allocations: 114.3 kB / 1.244 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/1.109, allocations: 491.3 kB / 1.245 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/1.11, allocations: 291.6 kB / 1.245 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004765/1.11, allocations: 0.5363 MB / 1.246 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001853/1.112, allocations: 1.593 MB / 1.247 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.112, allocations: 0 / 1.247 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/1.112, allocations: 0 / 1.247 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.039e-05/1.112, allocations: 7.984 kB / 1.247 GB, free: 11.63 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.002457/1.114, allocations: 1.411 MB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/1.114, allocations: 12.03 kB / 1.248 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/1.115, allocations: 183.4 kB / 1.249 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/1.116, allocations: 0.7617 MB / 1.249 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/1.116, allocations: 58 kB / 1.249 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.117, allocations: 84 kB / 1.25 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/1.118, allocations: 0.9144 MB / 1.25 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/1.118, allocations: 0 / 1.25 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.812e-05/1.118, allocations: 36 kB / 1.25 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/1.118, allocations: 20 kB / 1.25 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/1.12, allocations: 1.104 MB / 1.252 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003745/1.124, allocations: 2.468 MB / 1.254 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/1.125, allocations: 0.7949 MB / 1.255 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/1.126, allocations: 302.6 kB / 1.255 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/1.126, allocations: 28.61 kB / 1.255 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008463/1.127, allocations: 499 kB / 1.256 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 3.036e-06/1.127, allocations: 0 / 1.256 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003118/1.13, allocations: 1.182 MB / 1.257 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.13, allocations: 192.6 kB / 1.257 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/1.131, allocations: 0.6331 MB / 1.257 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.118e-05/1.131, allocations: 41.7 kB / 1.258 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000325/1.131, allocations: 396.3 kB / 1.258 GB, free: 232 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/1.131, allocations: 260.4 kB / 1.258 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/1.132, allocations: 162.5 kB / 1.258 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.132, allocations: 390.7 kB / 1.259 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/1.132, allocations: 261.9 kB / 1.259 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006025/1.133, allocations: 363.1 kB / 1.259 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.134, allocations: 0.6032 MB / 1.26 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.134, allocations: 0 / 1.26 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001899/1.136, allocations: 0.8527 MB / 1.261 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.136, allocations: 4 kB / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/1.136, allocations: 0 / 1.261 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005518/1.137, allocations: 84.83 kB / 1.261 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/1.137, allocations: 163.7 kB / 1.261 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/1.139, allocations: 1.625 MB / 1.263 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007252/1.14, allocations: 91.34 kB / 1.263 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/1.14, allocations: 39.92 kB / 1.263 GB, free: 11.16 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.0004554/1.14, allocations: 275.5 kB / 1.263 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/1.141, allocations: 86.95 kB / 1.263 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/1.143, allocations: 1.062 MB / 1.264 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/1.143, allocations: 8 kB / 1.264 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/1.143, allocations: 3.938 kB / 1.264 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.143, allocations: 3.984 kB / 1.264 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009975/1.144, allocations: 0.8802 MB / 1.265 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.144, allocations: 0 / 1.265 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/1.145, allocations: 139.8 kB / 1.265 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004184/1.145, allocations: 80.77 kB / 1.265 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-05/1.145, allocations: 23.98 kB / 1.265 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/1.147, allocations: 1.666 MB / 1.267 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.147, allocations: 64 / 1.267 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/1.149, allocations: 0.924 MB / 1.268 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/1.149, allocations: 271.7 kB / 1.268 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.149, allocations: 24 kB / 1.268 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/1.15, allocations: 59.92 kB / 1.268 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/1.15, allocations: 64.91 kB / 1.268 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/1.15, allocations: 43.91 kB / 1.268 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005413/1.151, allocations: 451 kB / 1.269 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/1.151, allocations: 0 / 1.269 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007884/1.151, allocations: 315.3 kB / 1.269 GB, free: 4.547 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.001319/1.153, allocations: 0.603 MB / 1.269 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00165/1.154, allocations: 0.8351 MB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.154, allocations: 0 / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008771/1.155, allocations: 0.5042 MB / 1.271 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.156, allocations: 286 kB / 1.271 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/1.16, allocations: 1.776 MB / 1.273 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/1.161, allocations: 1.015 MB / 1.274 GB, free: 15.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/1.161, allocations: 115.4 kB / 1.274 GB, free: 15.53 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/1.161, allocations: 4 kB / 1.274 GB, free: 15.53 MB / 1.014 GB Notification: Performance of Templates: time 0.02358/1.185, allocations: 18.34 MB / 1.292 GB, free: 13.23 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