Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007097/0.007097, allocations: 104.8 kB / 15.74 MB, free: 5.988 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.001558/0.001558, allocations: 196.2 kB / 16.67 MB, free: 5.914 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.403/1.403, allocations: 222.9 MB / 240.3 MB, free: 15.08 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 71.88 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8789/0.8802, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006273/0.8865, allocations: 4.738 MB / 1.093 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.199/1.086, allocations: 150.7 MB / 1.24 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/1.087, allocations: 20.25 kB / 1.24 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009204/1.088, allocations: 197.4 kB / 1.24 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/1.091, allocations: 0.5207 MB / 1.24 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003013/1.094, allocations: 0.8619 MB / 1.241 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002575/1.096, allocations: 1.446 MB / 1.243 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/1.098, allocations: 0.9332 MB / 1.244 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/1.099, allocations: 0.5829 MB / 1.244 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007018/1.1, allocations: 0.6186 MB / 1.245 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002418/1.1, allocations: 156.5 kB / 1.245 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/1.101, allocations: 0.5152 MB / 1.245 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/1.102, allocations: 378.8 kB / 1.246 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006058/1.102, allocations: 0.6995 MB / 1.246 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002102/1.104, allocations: 1.964 MB / 1.248 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.104, allocations: 3.984 kB / 1.248 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.535e-06/1.104, allocations: 0 / 1.248 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.887e-05/1.104, allocations: 0 / 1.248 GB, free: 9.367 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002679/1.107, allocations: 1.674 MB / 1.25 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.107, allocations: 8.031 kB / 1.25 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008915/1.108, allocations: 230.9 kB / 1.25 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.109, allocations: 0.86 MB / 1.251 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.37e-05/1.109, allocations: 94.34 kB / 1.251 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/1.109, allocations: 112 kB / 1.251 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001833/1.111, allocations: 1.202 MB / 1.252 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/1.111, allocations: 0 / 1.252 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/1.111, allocations: 55.98 kB / 1.252 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/1.111, allocations: 36 kB / 1.253 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/1.113, allocations: 1.277 MB / 1.254 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004188/1.118, allocations: 3.117 MB / 1.257 GB, free: 476 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.119, allocations: 0.8724 MB / 1.258 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/1.12, allocations: 318.7 kB / 1.258 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.128e-05/1.12, allocations: 36.61 kB / 1.258 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000863/1.121, allocations: 0.512 MB / 1.258 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.394e-06/1.121, allocations: 0 / 1.258 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.00315/1.124, allocations: 1.282 MB / 1.26 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.124, allocations: 188.9 kB / 1.26 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000876/1.125, allocations: 0.7353 MB / 1.261 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.306e-05/1.125, allocations: 49.7 kB / 1.261 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/1.125, allocations: 0.5116 MB / 1.261 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/1.125, allocations: 291.8 kB / 1.261 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/1.126, allocations: 174.5 kB / 1.262 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.126, allocations: 338 kB / 1.262 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/1.126, allocations: 289.8 kB / 1.262 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/1.127, allocations: 391.1 kB / 1.263 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/1.128, allocations: 0.6516 MB / 1.263 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.128, allocations: 4 kB / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001991/1.13, allocations: 0.9151 MB / 1.264 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.13, allocations: 4 kB / 1.264 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.13, allocations: 7.938 kB / 1.264 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005774/1.131, allocations: 88.8 kB / 1.264 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/1.131, allocations: 175.8 kB / 1.264 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/1.134, allocations: 1.627 MB / 1.266 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006865/1.134, allocations: 99.16 kB / 1.266 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/1.134, allocations: 35.98 kB / 1.266 GB, free: 6.598 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 (104): * Single equations (assignments): 103 * 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.0004522/1.135, allocations: 303.4 kB / 1.266 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/1.135, allocations: 94.78 kB / 1.267 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002295/1.137, allocations: 1.118 MB / 1.268 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.137, allocations: 15.94 kB / 1.268 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/1.137, allocations: 0 / 1.268 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.137, allocations: 3.984 kB / 1.268 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/1.138, allocations: 1.052 MB / 1.269 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.138, allocations: 4 kB / 1.269 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/1.139, allocations: 155.8 kB / 1.269 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003928/1.139, allocations: 76.72 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/1.139, allocations: 23.98 kB / 1.269 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/1.141, allocations: 1.658 MB / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.141, allocations: 0 / 1.271 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/1.143, allocations: 0.9863 MB / 1.271 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003338/1.143, allocations: 283.6 kB / 1.272 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.144, allocations: 23.98 kB / 1.272 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/1.144, allocations: 74.31 kB / 1.272 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.144, allocations: 76.83 kB / 1.272 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/1.144, allocations: 35.98 kB / 1.272 GB, free: 380 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000598/1.145, allocations: 0.5185 MB / 1.272 GB, free: 15.86 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/1.145, allocations: 0 / 1.272 GB, free: 15.86 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008249/1.146, allocations: 362.8 kB / 1.273 GB, free: 15.5 MB / 1.014 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 (98): * Single equations (assignments): 92 * 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.001304/1.147, allocations: 0.598 MB / 1.273 GB, free: 15.07 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001636/1.149, allocations: 0.8822 MB / 1.274 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.149, allocations: 4 kB / 1.274 GB, free: 14.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009409/1.15, allocations: 0.5393 MB / 1.275 GB, free: 13.63 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.151, allocations: 314.8 kB / 1.275 GB, free: 13.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/1.155, allocations: 2.062 MB / 1.277 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005989/1.155, allocations: 1.106 MB / 1.278 GB, free: 10.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007196/1.156, allocations: 275.4 kB / 1.278 GB, free: 9.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/1.156, allocations: 115.3 kB / 1.279 GB, free: 9.727 MB / 1.014 GB Notification: Performance of SimCode: time 2.61e-07/1.156, allocations: 0 / 1.279 GB, free: 9.727 MB / 1.014 GB Notification: Performance of Templates: time 0.02784/1.184, allocations: 16.05 MB / 1.294 GB, free: 9.836 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches