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.005415/0.005415, allocations: 102 kB / 15.73 MB, free: 6.035 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.001165/0.001166, allocations: 199 kB / 16.68 MB, free: 5.953 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.401/1.401, allocations: 222.9 MB / 240.4 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.389/2.389, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 59.91 kB / 0.9508 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9424/0.9441, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006829/0.951, allocations: 4.733 MB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1977/1.149, allocations: 150.7 MB / 1.24 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/1.15, allocations: 20.25 kB / 1.24 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/1.151, allocations: 201.4 kB / 1.24 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003007/1.154, allocations: 0.52 MB / 1.24 GB, free: 12 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003178/1.158, allocations: 0.8561 MB / 1.241 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002544/1.16, allocations: 1.454 MB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/1.162, allocations: 0.9208 MB / 1.244 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/1.163, allocations: 0.5763 MB / 1.244 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000779/1.164, allocations: 0.6308 MB / 1.245 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/1.164, allocations: 159.5 kB / 1.245 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/1.165, allocations: 0.5075 MB / 1.245 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/1.165, allocations: 382.7 kB / 1.246 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007101/1.166, allocations: 0.6917 MB / 1.246 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002708/1.169, allocations: 1.968 MB / 1.248 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.169, allocations: 0 / 1.248 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.104e-06/1.169, allocations: 0 / 1.248 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.991e-05/1.169, allocations: 0 / 1.248 GB, free: 9.453 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.00309/1.172, allocations: 1.682 MB / 1.25 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/1.172, allocations: 8.031 kB / 1.25 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/1.173, allocations: 226.9 kB / 1.25 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/1.175, allocations: 0.8639 MB / 1.251 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/1.175, allocations: 94.39 kB / 1.251 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/1.175, allocations: 116 kB / 1.251 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.177, allocations: 1.202 MB / 1.252 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/1.177, allocations: 7.938 kB / 1.252 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.177, allocations: 48 kB / 1.252 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.581e-05/1.177, allocations: 28 kB / 1.253 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/1.179, allocations: 1.285 MB / 1.254 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/1.184, allocations: 3.121 MB / 1.257 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/1.186, allocations: 0.8602 MB / 1.258 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005797/1.187, allocations: 322.7 kB / 1.258 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/1.187, allocations: 32.61 kB / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009231/1.188, allocations: 0.5126 MB / 1.258 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.535e-06/1.188, allocations: 0 / 1.258 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.003504/1.191, allocations: 1.278 MB / 1.26 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/1.191, allocations: 204.9 kB / 1.26 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/1.192, allocations: 0.7314 MB / 1.261 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/1.192, allocations: 45.7 kB / 1.261 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/1.193, allocations: 0.5154 MB / 1.261 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/1.193, allocations: 283.9 kB / 1.261 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.193, allocations: 174.5 kB / 1.262 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001389/1.194, allocations: 334 kB / 1.262 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/1.194, allocations: 293.8 kB / 1.262 GB, free: 10.85 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006973/1.195, allocations: 387.1 kB / 1.263 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.196, allocations: 0.6555 MB / 1.263 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.196, allocations: 0 / 1.263 GB, free: 9.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002204/1.198, allocations: 0.9228 MB / 1.264 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.198, allocations: 4 kB / 1.264 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.198, allocations: 3.938 kB / 1.264 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/1.199, allocations: 84.86 kB / 1.264 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00075/1.2, allocations: 175.7 kB / 1.264 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/1.202, allocations: 1.631 MB / 1.266 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008785/1.203, allocations: 109.7 kB / 1.266 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/1.203, allocations: 31.98 kB / 1.266 GB, free: 6.676 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.0006035/1.204, allocations: 304.2 kB / 1.266 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/1.204, allocations: 94.78 kB / 1.267 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/1.206, allocations: 1.118 MB / 1.268 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.207, allocations: 19.92 kB / 1.268 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/1.207, allocations: 0 / 1.268 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.207, allocations: 3.984 kB / 1.268 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/1.208, allocations: 1.048 MB / 1.269 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.208, allocations: 0 / 1.269 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/1.209, allocations: 159.8 kB / 1.269 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005156/1.209, allocations: 68.78 kB / 1.269 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/1.209, allocations: 23.98 kB / 1.269 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/1.211, allocations: 1.67 MB / 1.271 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/1.211, allocations: 3.938 kB / 1.271 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/1.213, allocations: 0.9863 MB / 1.271 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/1.214, allocations: 283.6 kB / 1.272 GB, free: 0.6445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.214, allocations: 27.98 kB / 1.272 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006591/1.215, allocations: 63.88 kB / 1.272 GB, free: 0.5547 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/1.215, allocations: 76.83 kB / 1.272 GB, free: 492 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-05/1.215, allocations: 31.98 kB / 1.272 GB, free: 460 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007375/1.216, allocations: 0.5186 MB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.5e-07/1.216, allocations: 4 kB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009776/1.217, allocations: 362.8 kB / 1.273 GB, free: 15.57 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.001477/1.218, allocations: 0.5928 MB / 1.273 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00191/1.22, allocations: 0.8822 MB / 1.274 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.22, allocations: 4 kB / 1.274 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/1.221, allocations: 0.5392 MB / 1.275 GB, free: 13.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/1.222, allocations: 314.1 kB / 1.275 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/1.227, allocations: 2.068 MB / 1.277 GB, free: 11.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/1.228, allocations: 1.106 MB / 1.278 GB, free: 10.2 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009548/1.229, allocations: 275.4 kB / 1.278 GB, free: 9.922 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/1.229, allocations: 115.3 kB / 1.279 GB, free: 9.809 MB / 1.014 GB Notification: Performance of SimCode: time 1.984e-06/1.229, allocations: 0 / 1.279 GB, free: 9.809 MB / 1.014 GB Notification: Performance of Templates: time 0.0269/1.256, allocations: 15.74 MB / 1.294 GB, free: 10.22 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