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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001828/0.001828, allocations: 107 kB / 16.37 MB, free: 5.539 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.001802/0.001802, allocations: 194.2 kB / 17.31 MB, free: 5.18 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.22/2.22, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 68.55 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2967, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006894/0.3036, allocations: 4.756 MB / 0.9558 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7525/1.056, allocations: 150.7 MB / 1.103 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/1.057, allocations: 26.06 kB / 1.103 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006476/1.058, allocations: 188.2 kB / 1.103 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002036/1.06, allocations: 0.5266 MB / 1.104 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/1.062, allocations: 0.8617 MB / 1.104 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00227/1.065, allocations: 1.439 MB / 1.106 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001371/1.066, allocations: 0.9257 MB / 1.107 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/1.067, allocations: 0.5843 MB / 1.107 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009193/1.068, allocations: 0.6263 MB / 1.108 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002792/1.068, allocations: 155 kB / 1.108 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/1.07, allocations: 0.5108 MB / 1.109 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004252/1.07, allocations: 372 kB / 1.109 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008142/1.071, allocations: 0.6972 MB / 1.11 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003317/1.074, allocations: 1.964 MB / 1.112 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.074, allocations: 1.125 kB / 1.112 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.963e-06/1.074, allocations: 4 kB / 1.112 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.982e-05/1.074, allocations: 0 / 1.112 GB, free: 4.242 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.003897/1.078, allocations: 1.685 MB / 1.113 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/1.078, allocations: 10.3 kB / 1.113 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/1.079, allocations: 218.1 kB / 1.113 GB, free: 19.28 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/1.081, allocations: 0.8723 MB / 1.114 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/1.081, allocations: 91.62 kB / 1.114 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/1.081, allocations: 116.6 kB / 1.114 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/1.084, allocations: 1.197 MB / 1.116 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/1.084, allocations: 2.203 kB / 1.116 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/1.084, allocations: 52.59 kB / 1.116 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.904e-05/1.084, allocations: 28.38 kB / 1.116 GB, free: 18.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/1.086, allocations: 1.286 MB / 1.117 GB, free: 18.69 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005138/1.091, allocations: 3.109 MB / 1.12 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/1.093, allocations: 0.8614 MB / 1.121 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/1.093, allocations: 325.8 kB / 1.121 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/1.093, allocations: 31.91 kB / 1.121 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009124/1.094, allocations: 0.5198 MB / 1.122 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=87): time 2.755e-06/1.094, allocations: 1.062 kB / 1.122 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of matching and sorting (n=87): time 0.003623/1.098, allocations: 1.273 MB / 1.123 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.098, allocations: 194.8 kB / 1.123 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.099, allocations: 0.7363 MB / 1.124 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.957e-05/1.099, allocations: 44.52 kB / 1.124 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/1.1, allocations: 0.5132 MB / 1.124 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/1.1, allocations: 289 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/1.1, allocations: 174.1 kB / 1.125 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.1, allocations: 343.4 kB / 1.125 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/1.101, allocations: 290.4 kB / 1.125 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/1.102, allocations: 387.1 kB / 1.126 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/1.103, allocations: 0.6571 MB / 1.126 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/1.103, allocations: 1.656 kB / 1.126 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002181/1.105, allocations: 0.9177 MB / 1.127 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/1.105, allocations: 6.094 kB / 1.127 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/1.105, allocations: 5.188 kB / 1.127 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/1.106, allocations: 81.45 kB / 1.127 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/1.106, allocations: 178.9 kB / 1.128 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/1.108, allocations: 1.62 MB / 1.129 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009915/1.109, allocations: 109.3 kB / 1.129 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.159e-05/1.11, allocations: 38.7 kB / 1.129 GB, free: 14.58 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.0006349/1.11, allocations: 293.1 kB / 1.13 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/1.11, allocations: 94.14 kB / 1.13 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/1.113, allocations: 1.128 MB / 1.131 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/1.113, allocations: 17.75 kB / 1.131 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/1.113, allocations: 5.156 kB / 1.131 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.113, allocations: 5.859 kB / 1.131 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/1.114, allocations: 1.043 MB / 1.132 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.114, allocations: 0 / 1.132 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/1.115, allocations: 154.7 kB / 1.132 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004192/1.115, allocations: 73.91 kB / 1.132 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/1.115, allocations: 25.55 kB / 1.132 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/1.117, allocations: 1.66 MB / 1.134 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.117, allocations: 0 / 1.134 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.119, allocations: 0.9866 MB / 1.135 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004833/1.12, allocations: 291.8 kB / 1.135 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001543/1.12, allocations: 19.34 kB / 1.135 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/1.12, allocations: 66.8 kB / 1.135 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.121, allocations: 77.36 kB / 1.135 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/1.121, allocations: 36.28 kB / 1.135 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007406/1.121, allocations: 0.5152 MB / 1.136 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.81e-07/1.121, allocations: 0 / 1.136 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001103/1.123, allocations: 360.9 kB / 1.136 GB, free: 12.14 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.001396/1.124, allocations: 0.6064 MB / 1.137 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001821/1.126, allocations: 0.8859 MB / 1.137 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.126, allocations: 0 / 1.137 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009337/1.127, allocations: 0.5513 MB / 1.138 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.128, allocations: 308.8 kB / 1.138 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/1.132, allocations: 2.062 MB / 1.14 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/1.133, allocations: 1.113 MB / 1.141 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001047/1.134, allocations: 270.7 kB / 1.142 GB, free: 9.941 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/1.135, allocations: 117 kB / 1.142 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/1.135, allocations: 1.062 kB / 1.142 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of Templates: time 0.02945/1.164, allocations: 15.57 MB / 1.157 GB, free: 4.703 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 -s cvode -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