Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.0009744/0.0009744, allocations: 189.5 kB / 17.35 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.16 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.19/2.19, allocations: 390.3 MB / 0.6655 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.89 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7976/0.7988, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007745/0.8066, allocations: 6.468 MB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2019/1.009, allocations: 151.6 MB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002663/1.011, allocations: 24.38 kB / 1.243 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001754/1.013, allocations: 252.5 kB / 1.243 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004842/1.018, allocations: 0.71 MB / 1.244 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004703/1.023, allocations: 1.361 MB / 1.245 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004315/1.027, allocations: 2.671 MB / 1.248 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/1.029, allocations: 1.584 MB / 1.249 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/1.031, allocations: 1.16 MB / 1.251 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/1.033, allocations: 1.296 MB / 1.252 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005031/1.033, allocations: 328 kB / 1.252 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001664/1.035, allocations: 0.7027 MB / 1.253 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007166/1.036, allocations: 0.701 MB / 1.254 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/1.037, allocations: 1.271 MB / 1.255 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004391/1.041, allocations: 3.553 MB / 1.258 GB, free: 16 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.073e-05/1.041, allocations: 0 / 1.258 GB, free: 16 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/1.041, allocations: 0 / 1.258 GB, free: 16 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.548e-05/1.042, allocations: 0 / 1.258 GB, free: 16 kB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006629/1.048, allocations: 2.784 MB / 1.261 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.048, allocations: 8.031 kB / 1.261 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01773/1.066, allocations: 2.108 MB / 1.263 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/1.069, allocations: 1.286 MB / 1.264 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/1.069, allocations: 172.5 kB / 1.264 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/1.069, allocations: 220 kB / 1.265 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009617/1.079, allocations: 3.282 MB / 1.268 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.483e-05/1.079, allocations: 0 / 1.268 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003009/1.079, allocations: 92 kB / 1.268 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.003e-05/1.079, allocations: 52 kB / 1.268 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/1.093, allocations: 4.205 MB / 1.272 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/1.11, allocations: 7.23 MB / 1.279 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.12, allocations: 2.888 MB / 1.282 GB, free: 7.359 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00507/1.126, allocations: 1.485 MB / 1.283 GB, free: 5.871 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009479/1.126, allocations: 0.5035 MB / 1.284 GB, free: 5.273 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005744/1.132, allocations: 1.855 MB / 1.286 GB, free: 3.398 MB / 1.014 GB Notification: Performance of pre-optimization done (n=213): time 4.328e-06/1.132, allocations: 0 / 1.286 GB, free: 3.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=213): time 0.0169/1.149, allocations: 4.458 MB / 1.29 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001475/1.149, allocations: 201.9 kB / 1.29 GB, free: 14.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/1.151, allocations: 0.9526 MB / 1.291 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002459/1.151, allocations: 65.64 kB / 1.291 GB, free: 13.63 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007341/1.152, allocations: 0.7427 MB / 1.292 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007456/1.153, allocations: 0.6776 MB / 1.293 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008516/1.154, allocations: 395.2 kB / 1.293 GB, free: 11.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.154, allocations: 305.1 kB / 1.293 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004782/1.159, allocations: 1.257 MB / 1.295 GB, free: 10.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005088/1.164, allocations: 1.43 MB / 1.296 GB, free: 8.785 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009776/1.173, allocations: 2.61 MB / 1.298 GB, free: 6.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/1.173, allocations: 3.938 kB / 1.298 GB, free: 6.152 MB / 1.029 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0117/1.185, allocations: 3.12 MB / 1.302 GB, free: 3.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/1.185, allocations: 4.062 kB / 1.302 GB, free: 3.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/1.185, allocations: 8 kB / 1.302 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006734/1.186, allocations: 84.77 kB / 1.302 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/1.19, allocations: 0.6046 MB / 1.302 GB, free: 2.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/1.193, allocations: 1.626 MB / 1.304 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003772/1.197, allocations: 374 kB / 1.304 GB, free: 184 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/1.197, allocations: 99.89 kB / 1.304 GB, free: 84 kB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.001314/1.198, allocations: 440.3 kB / 1.305 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004848/1.199, allocations: 154.1 kB / 1.305 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/1.212, allocations: 3.712 MB / 1.308 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.228e-05/1.212, allocations: 11.95 kB / 1.308 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/1.212, allocations: 0 / 1.308 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.213, allocations: 0.5452 MB / 1.309 GB, free: 11.18 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004303/1.214, allocations: 51.84 kB / 1.309 GB, free: 11.12 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00319/1.217, allocations: 263.7 kB / 1.309 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000361/1.217, allocations: 153.8 kB / 1.309 GB, free: 10.71 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0142/1.232, allocations: 3.443 MB / 1.313 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0172/1.249, allocations: 5.049 MB / 1.318 GB, free: 2.199 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005339/1.254, allocations: 1.519 MB / 1.319 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001287/1.256, allocations: 0.7036 MB / 1.32 GB, free: 15.97 MB / 1.061 GB Notification: Performance of Backend: time 5.71e-07/1.256, allocations: 0 / 1.32 GB, free: 15.97 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.266, allocations: 2.59 MB / 1.322 GB, free: 13.6 MB / 1.061 GB Notification: Performance of SimCode: time 0.00651/1.272, allocations: 3.474 MB / 1.326 GB, free: 10.08 MB / 1.061 GB Notification: Performance of Templates: time 0.07406/1.346, allocations: 40.16 MB / 1.365 GB, free: 2.066 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches