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.001567/0.001567, allocations: 105.3 kB / 16.27 MB, free: 6.418 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.001873/0.001873, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.252/2.252, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001299, allocations: 63.39 kB / 0.8132 GB, free: 33.02 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2774, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006809/0.2842, allocations: 4.742 MB / 0.9549 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6909/0.9752, allocations: 150.7 MB / 1.102 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.9763, allocations: 23.25 kB / 1.102 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007374/0.9772, allocations: 195.9 kB / 1.102 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002123/0.9793, allocations: 0.5243 MB / 1.103 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.982, allocations: 0.8481 MB / 1.104 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002736/0.9848, allocations: 1.436 MB / 1.105 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.9864, allocations: 0.9273 MB / 1.106 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.9877, allocations: 0.5778 MB / 1.106 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.989, allocations: 0.6268 MB / 1.107 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003859/0.9894, allocations: 154.1 kB / 1.107 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.991, allocations: 498.4 kB / 1.108 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004406/0.9915, allocations: 375.8 kB / 1.108 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.9926, allocations: 0.6947 MB / 1.109 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.9963, allocations: 1.919 MB / 1.111 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9963, allocations: 0 / 1.111 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9963, allocations: 1.094 kB / 1.111 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.877e-05/0.9964, allocations: 4 kB / 1.111 GB, free: 4.023 MB / 0.8575 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.003789/1, allocations: 1.681 MB / 1.112 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1, allocations: 9.469 kB / 1.112 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/1.001, allocations: 219 kB / 1.112 GB, free: 19.09 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.003, allocations: 0.8519 MB / 1.113 GB, free: 18.74 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.686e-05/1.003, allocations: 88.88 kB / 1.113 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/1.003, allocations: 115.5 kB / 1.114 GB, free: 18.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/1.005, allocations: 1.201 MB / 1.115 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/1.005, allocations: 3.75 kB / 1.115 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/1.005, allocations: 51.09 kB / 1.115 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.803e-05/1.005, allocations: 32.31 kB / 1.115 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/1.008, allocations: 1.289 MB / 1.116 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/1.013, allocations: 3.147 MB / 1.119 GB, free: 17.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/1.014, allocations: 0.8642 MB / 1.12 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/1.015, allocations: 321.7 kB / 1.12 GB, free: 17.54 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/1.015, allocations: 36.48 kB / 1.12 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009208/1.016, allocations: 0.5153 MB / 1.121 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 3.256e-06/1.016, allocations: 1.5 kB / 1.121 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003582/1.02, allocations: 1.279 MB / 1.122 GB, free: 17.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/1.02, allocations: 190.9 kB / 1.122 GB, free: 17.01 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/1.021, allocations: 0.7371 MB / 1.123 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.853e-05/1.021, allocations: 48.64 kB / 1.123 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/1.021, allocations: 0.508 MB / 1.123 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/1.022, allocations: 285.6 kB / 1.124 GB, free: 16.42 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002756/1.022, allocations: 174.1 kB / 1.124 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.022, allocations: 344.2 kB / 1.124 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005744/1.023, allocations: 287.9 kB / 1.125 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/1.023, allocations: 391.2 kB / 1.125 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/1.024, allocations: 0.6565 MB / 1.126 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.024, allocations: 7.938 kB / 1.126 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002152/1.027, allocations: 0.9223 MB / 1.126 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/1.027, allocations: 6.125 kB / 1.126 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.027, allocations: 0 / 1.126 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/1.027, allocations: 87.3 kB / 1.127 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007443/1.028, allocations: 178.9 kB / 1.127 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/1.03, allocations: 1.626 MB / 1.128 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/1.031, allocations: 100 kB / 1.128 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.031, allocations: 45.73 kB / 1.128 GB, free: 14.38 MB / 0.8731 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.0007537/1.032, allocations: 297.9 kB / 1.129 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/1.033, allocations: 95 kB / 1.129 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/1.035, allocations: 1.125 MB / 1.13 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/1.035, allocations: 14.5 kB / 1.13 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/1.035, allocations: 3.938 kB / 1.13 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.035, allocations: 5.578 kB / 1.13 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001546/1.037, allocations: 1.043 MB / 1.131 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.037, allocations: 0 / 1.131 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/1.037, allocations: 159.3 kB / 1.131 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004475/1.038, allocations: 67.25 kB / 1.131 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.023e-05/1.038, allocations: 28.58 kB / 1.131 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.04, allocations: 1.655 MB / 1.133 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/1.04, allocations: 4.062 kB / 1.133 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/1.042, allocations: 0.9825 MB / 1.134 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/1.042, allocations: 288.8 kB / 1.134 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/1.043, allocations: 20.75 kB / 1.134 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/1.043, allocations: 73.61 kB / 1.134 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/1.043, allocations: 80.44 kB / 1.134 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/1.044, allocations: 37.03 kB / 1.134 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007518/1.044, allocations: 0.5173 MB / 1.135 GB, free: 12 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.044, allocations: 0 / 1.135 GB, free: 12 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001183/1.046, allocations: 364.8 kB / 1.135 GB, free: 11.93 MB / 0.8731 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.001451/1.047, allocations: 0.6049 MB / 1.136 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002739/1.05, allocations: 1.098 MB / 1.137 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.05, allocations: 0.9375 kB / 1.137 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/1.051, allocations: 0.5466 MB / 1.137 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00146/1.052, allocations: 310.5 kB / 1.138 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004924/1.057, allocations: 2.141 MB / 1.14 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/1.058, allocations: 1.107 MB / 1.141 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/1.058, allocations: 125.2 kB / 1.141 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of SimCode: time 1.032e-06/1.058, allocations: 1.188 kB / 1.141 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of Templates: time 0.03301/1.091, allocations: 21.41 MB / 1.162 GB, free: 1.312 MB / 0.8731 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