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.0052/0.005199, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.00117/0.00117, allocations: 196.6 kB / 16.67 MB, free: 5.52 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.2 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.325/2.325, allocations: 390.2 MB / 0.6648 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.89 kB / 0.9508 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8923/0.8935, allocations: 140.4 MB / 1.088 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00558/0.8992, allocations: 4.727 MB / 1.093 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1935/1.093, allocations: 150.7 MB / 1.24 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001237/1.094, allocations: 16.31 kB / 1.24 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001161/1.095, allocations: 193.4 kB / 1.24 GB, free: 0.6172 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003532/1.099, allocations: 0.5433 MB / 1.24 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003523/1.102, allocations: 0.8652 MB / 1.241 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002841/1.105, allocations: 1.44 MB / 1.243 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/1.107, allocations: 0.937 MB / 1.244 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/1.109, allocations: 0.5869 MB / 1.244 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001492/1.11, allocations: 0.6224 MB / 1.245 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004748/1.111, allocations: 154.9 kB / 1.245 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001519/1.112, allocations: 0.5191 MB / 1.245 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004909/1.113, allocations: 370.8 kB / 1.246 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/1.114, allocations: 0.6994 MB / 1.246 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002879/1.117, allocations: 1.966 MB / 1.248 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.117, allocations: 4 kB / 1.248 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/1.117, allocations: 3.938 kB / 1.248 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.033e-05/1.117, allocations: 0 / 1.248 GB, free: 9.555 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.003378/1.12, allocations: 1.674 MB / 1.25 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.12, allocations: 8.031 kB / 1.25 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009568/1.121, allocations: 222.9 kB / 1.25 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/1.123, allocations: 0.8638 MB / 1.251 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.399e-05/1.123, allocations: 90.39 kB / 1.251 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/1.123, allocations: 124 kB / 1.251 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/1.125, allocations: 1.202 MB / 1.252 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/1.125, allocations: 0 / 1.252 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/1.125, allocations: 48 kB / 1.252 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/1.125, allocations: 28 kB / 1.253 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/1.127, allocations: 1.285 MB / 1.254 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/1.132, allocations: 3.117 MB / 1.257 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/1.133, allocations: 0.8641 MB / 1.258 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005469/1.134, allocations: 322.7 kB / 1.258 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/1.134, allocations: 28.62 kB / 1.258 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008938/1.135, allocations: 0.5197 MB / 1.259 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.986e-06/1.135, allocations: 0 / 1.259 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003237/1.138, allocations: 1.274 MB / 1.26 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/1.138, allocations: 208.8 kB / 1.26 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009019/1.139, allocations: 0.7314 MB / 1.261 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.324e-05/1.139, allocations: 45.7 kB / 1.261 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/1.14, allocations: 0.5114 MB / 1.261 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/1.14, allocations: 284 kB / 1.261 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/1.14, allocations: 182.5 kB / 1.262 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.14, allocations: 334 kB / 1.262 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005498/1.141, allocations: 293.8 kB / 1.262 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/1.141, allocations: 387.1 kB / 1.263 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/1.143, allocations: 0.6516 MB / 1.263 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.143, allocations: 0 / 1.263 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00201/1.145, allocations: 0.9228 MB / 1.264 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.145, allocations: 4 kB / 1.264 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.145, allocations: 7.938 kB / 1.264 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/1.145, allocations: 84.86 kB / 1.264 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/1.146, allocations: 171.8 kB / 1.264 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.148, allocations: 1.633 MB / 1.266 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/1.149, allocations: 107.2 kB / 1.266 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/1.149, allocations: 31.98 kB / 1.266 GB, free: 6.789 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.0005551/1.15, allocations: 299.4 kB / 1.266 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001862/1.15, allocations: 94.78 kB / 1.267 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/1.152, allocations: 1.118 MB / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/1.152, allocations: 15.94 kB / 1.268 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.152, allocations: 3.984 kB / 1.268 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/1.152, allocations: 3.984 kB / 1.268 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/1.153, allocations: 1.052 MB / 1.269 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.153, allocations: 0 / 1.269 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/1.154, allocations: 159.7 kB / 1.269 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004239/1.155, allocations: 68.78 kB / 1.269 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/1.155, allocations: 23.98 kB / 1.269 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/1.156, allocations: 1.666 MB / 1.271 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.156, allocations: 3.938 kB / 1.271 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/1.158, allocations: 0.9824 MB / 1.271 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004161/1.159, allocations: 287.6 kB / 1.272 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/1.159, allocations: 27.98 kB / 1.272 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/1.16, allocations: 59.94 kB / 1.272 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.16, allocations: 80.77 kB / 1.272 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/1.16, allocations: 31.98 kB / 1.272 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006898/1.161, allocations: 0.5185 MB / 1.272 GB, free: 56 kB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.161, allocations: 4 kB / 1.272 GB, free: 52 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001016/1.162, allocations: 366.8 kB / 1.273 GB, free: 15.69 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.001466/1.163, allocations: 0.5995 MB / 1.273 GB, free: 15.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001858/1.165, allocations: 0.8822 MB / 1.274 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.165, allocations: 0 / 1.274 GB, free: 14.37 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009545/1.166, allocations: 0.5431 MB / 1.275 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.167, allocations: 306.3 kB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004512/1.172, allocations: 2.058 MB / 1.277 GB, free: 11.45 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/1.172, allocations: 1.11 MB / 1.278 GB, free: 10.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009199/1.173, allocations: 275.3 kB / 1.278 GB, free: 10.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/1.174, allocations: 107.4 kB / 1.279 GB, free: 9.934 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.174, allocations: 3.938 kB / 1.279 GB, free: 9.93 MB / 1.014 GB Notification: Performance of Templates: time 0.02993/1.204, allocations: 15.75 MB / 1.294 GB, free: 10.33 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