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.001214/0.001214, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001114/0.001115, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.07 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.17/2.17, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.89 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.019, allocations: 140.4 MB / 1.089 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006068/1.026, allocations: 4.73 MB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1836/1.209, allocations: 150.7 MB / 1.24 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/1.21, allocations: 21.62 kB / 1.24 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006743/1.211, allocations: 192 kB / 1.241 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/1.213, allocations: 0.5197 MB / 1.241 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00251/1.216, allocations: 0.8668 MB / 1.242 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001733/1.218, allocations: 1.446 MB / 1.243 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/1.219, allocations: 0.9325 MB / 1.244 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008498/1.22, allocations: 0.5789 MB / 1.245 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006695/1.22, allocations: 0.6263 MB / 1.245 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/1.221, allocations: 155.7 kB / 1.246 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/1.222, allocations: 0.5191 MB / 1.246 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/1.222, allocations: 374.8 kB / 1.246 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/1.222, allocations: 0.6956 MB / 1.247 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002099/1.225, allocations: 1.964 MB / 1.249 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.225, allocations: 0 / 1.249 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.894e-06/1.225, allocations: 0 / 1.249 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.998e-05/1.225, allocations: 0 / 1.249 GB, free: 9.383 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.002763/1.227, allocations: 1.682 MB / 1.251 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/1.227, allocations: 12.02 kB / 1.251 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/1.228, allocations: 215 kB / 1.251 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/1.23, allocations: 0.8638 MB / 1.252 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/1.23, allocations: 90.41 kB / 1.252 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/1.23, allocations: 116 kB / 1.252 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.232, allocations: 1.21 MB / 1.253 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.585e-05/1.232, allocations: 4 kB / 1.253 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/1.232, allocations: 52 kB / 1.253 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/1.232, allocations: 28 kB / 1.253 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001973/1.234, allocations: 1.281 MB / 1.254 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/1.238, allocations: 3.121 MB / 1.258 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.24, allocations: 0.8603 MB / 1.258 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/1.24, allocations: 322.7 kB / 1.259 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/1.24, allocations: 32.53 kB / 1.259 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008525/1.241, allocations: 0.5159 MB / 1.259 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.555e-06/1.241, allocations: 0 / 1.259 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003214/1.245, allocations: 1.278 MB / 1.26 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.245, allocations: 196.9 kB / 1.261 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008756/1.246, allocations: 0.7353 MB / 1.261 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.543e-05/1.246, allocations: 45.7 kB / 1.261 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003735/1.246, allocations: 0.5114 MB / 1.262 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/1.246, allocations: 279.9 kB / 1.262 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/1.247, allocations: 174.6 kB / 1.262 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.247, allocations: 345.9 kB / 1.263 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005281/1.247, allocations: 293.8 kB / 1.263 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/1.248, allocations: 387 kB / 1.263 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/1.249, allocations: 0.6594 MB / 1.264 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/1.249, allocations: 0 / 1.264 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001988/1.251, allocations: 0.9111 MB / 1.265 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.251, allocations: 7.984 kB / 1.265 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.251, allocations: 3.938 kB / 1.265 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/1.252, allocations: 80.88 kB / 1.265 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/1.252, allocations: 179.7 kB / 1.265 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/1.254, allocations: 1.627 MB / 1.267 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007516/1.255, allocations: 103.2 kB / 1.267 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/1.255, allocations: 39.97 kB / 1.267 GB, free: 6.613 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.000477/1.256, allocations: 299.4 kB / 1.267 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/1.256, allocations: 94.78 kB / 1.267 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/1.258, allocations: 1.122 MB / 1.268 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.258, allocations: 15.94 kB / 1.268 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.258, allocations: 0 / 1.268 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.258, allocations: 3.984 kB / 1.268 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/1.26, allocations: 1.052 MB / 1.269 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.26, allocations: 0 / 1.269 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006047/1.26, allocations: 159.8 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/1.261, allocations: 68.78 kB / 1.27 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/1.261, allocations: 35.86 kB / 1.27 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.263, allocations: 1.654 MB / 1.271 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.263, allocations: 0 / 1.271 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001975/1.265, allocations: 0.994 MB / 1.272 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004031/1.265, allocations: 283.6 kB / 1.272 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.265, allocations: 28 kB / 1.272 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/1.266, allocations: 59.94 kB / 1.273 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/1.266, allocations: 72.83 kB / 1.273 GB, free: 440 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/1.266, allocations: 43.91 kB / 1.273 GB, free: 396 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006488/1.267, allocations: 0.5146 MB / 1.273 GB, free: 15.88 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.267, allocations: 4 kB / 1.273 GB, free: 15.88 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008787/1.268, allocations: 362.8 kB / 1.273 GB, free: 15.52 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.001274/1.269, allocations: 0.5946 MB / 1.274 GB, free: 15.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001787/1.271, allocations: 0.8899 MB / 1.275 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/1.271, allocations: 0 / 1.275 GB, free: 14.2 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009389/1.272, allocations: 0.5393 MB / 1.275 GB, free: 13.65 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.273, allocations: 306.6 kB / 1.276 GB, free: 13.37 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/1.277, allocations: 2.103 MB / 1.278 GB, free: 11.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007872/1.278, allocations: 1.116 MB / 1.279 GB, free: 10.09 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/1.279, allocations: 123.4 kB / 1.279 GB, free: 9.965 MB / 1.014 GB Notification: Performance of SimCode: time 9.72e-07/1.279, allocations: 0 / 1.279 GB, free: 9.965 MB / 1.014 GB Notification: Performance of Templates: time 0.03008/1.309, allocations: 21.54 MB / 1.3 GB, free: 4.465 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches