Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 157.7 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.275/3.275, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.8776 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.144e-05, allocations: 6.312 kB / 0.8776 GB, free: 5.375 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009553/0.009584, allocations: 5.348 MB / 0.8828 GB, free: 32 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.1985/0.208, allocations: 133 MB / 1.013 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009009/0.2089, allocations: 23.81 kB / 1.013 GB, free: 10.55 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.2097, allocations: 249.6 kB / 1.013 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.2117, allocations: 0.6598 MB / 1.014 GB, free: 9.645 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.2139, allocations: 0.9037 MB / 1.014 GB, free: 8.738 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00221/0.2161, allocations: 1.743 MB / 1.016 GB, free: 6.98 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.2173, allocations: 0.5932 MB / 1.017 GB, free: 6.355 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.2186, allocations: 0.9589 MB / 1.018 GB, free: 5.395 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007825/0.2194, allocations: 0.5063 MB / 1.018 GB, free: 4.887 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0002456/0.2197, allocations: 164 kB / 1.018 GB, free: 4.727 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.2208, allocations: 0.5267 MB / 1.019 GB, free: 4.199 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.2212, allocations: 398.6 kB / 1.019 GB, free: 3.809 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.2218, allocations: 0.5143 MB / 1.02 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002916/0.2247, allocations: 2.216 MB / 1.022 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2248, allocations: 0 / 1.022 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2248, allocations: 4 kB / 1.022 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.292e-05/0.2248, allocations: 0 / 1.022 GB, free: 1.066 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 310 * Number of variables: 310 Notification: Performance of Generate backend data structure: time 0.3862/0.611, allocations: 1.716 MB / 1.024 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.611, allocations: 9.984 kB / 1.024 GB, free: 160.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.6128, allocations: 416.5 kB / 1.024 GB, free: 160.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.6143, allocations: 0.8392 MB / 1.025 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.5e-05/0.6143, allocations: 97.09 kB / 1.025 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.6145, allocations: 130.2 kB / 1.025 GB, free: 160.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.6169, allocations: 1.478 MB / 1.026 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/0.6169, allocations: 0.5625 kB / 1.026 GB, free: 159.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.617, allocations: 50.75 kB / 1.026 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.617, allocations: 29.25 kB / 1.026 GB, free: 159.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.6193, allocations: 1.25 MB / 1.028 GB, free: 159 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005235/0.6246, allocations: 2.79 MB / 1.03 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.6262, allocations: 0.8548 MB / 1.031 GB, free: 157.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005817/0.6268, allocations: 316.2 kB / 1.032 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.389e-05/0.6269, allocations: 29.75 kB / 1.032 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001015/0.6279, allocations: 0.6385 MB / 1.032 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=95): time 3.005e-06/0.6279, allocations: 0 / 1.032 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95): time 0.003669/0.6316, allocations: 1.277 MB / 1.033 GB, free: 156.3 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.6316, allocations: 205.2 kB / 1.034 GB, free: 156.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008743/0.6325, allocations: 0.6729 MB / 1.034 GB, free: 155.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.617e-05/0.6326, allocations: 55.28 kB / 1.034 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.6329, allocations: 0.5391 MB / 1.035 GB, free: 155.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.6331, allocations: 315.5 kB / 1.035 GB, free: 155.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.6334, allocations: 191 kB / 1.035 GB, free: 155 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6335, allocations: 394.2 kB / 1.036 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/0.6341, allocations: 318.1 kB / 1.036 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007059/0.6348, allocations: 0.5379 MB / 1.037 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.636, allocations: 0.6988 MB / 1.037 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.636, allocations: 0.9375 kB / 1.037 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002261/0.6383, allocations: 1.03 MB / 1.038 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6383, allocations: 9.625 kB / 1.038 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.6383, allocations: 1.281 kB / 1.038 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000988/0.6393, allocations: 136.2 kB / 1.038 GB, free: 153.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.6401, allocations: 187 kB / 1.039 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.6419, allocations: 1.498 MB / 1.04 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/0.6427, allocations: 102.7 kB / 1.04 GB, free: 152 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/0.6428, allocations: 46.62 kB / 1.04 GB, free: 152 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (117): * Single equations (assignments): 116 * 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.0004736/0.6433, allocations: 307.4 kB / 1.041 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002263/0.6435, allocations: 124.3 kB / 1.041 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.646, allocations: 1.147 MB / 1.042 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.646, allocations: 10.56 kB / 1.042 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.646, allocations: 4.688 kB / 1.042 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.6461, allocations: 7.188 kB / 1.042 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003874/0.6499, allocations: 2.072 MB / 1.044 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6499, allocations: 0 / 1.044 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/0.6506, allocations: 154.8 kB / 1.044 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007801/0.6514, allocations: 119.4 kB / 1.044 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.493e-05/0.6515, allocations: 27.5 kB / 1.044 GB, free: 150.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.6532, allocations: 1.528 MB / 1.046 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6532, allocations: 0.5625 kB / 1.046 GB, free: 148.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.6555, allocations: 1.126 MB / 1.047 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/0.656, allocations: 213.8 kB / 1.047 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001396/0.6561, allocations: 24.09 kB / 1.047 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007049/0.6568, allocations: 70.17 kB / 1.047 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.657, allocations: 81.09 kB / 1.047 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.019e-05/0.6571, allocations: 37.91 kB / 1.047 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006188/0.6577, allocations: 480.5 kB / 1.048 GB, free: 148 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.6577, allocations: 0 / 1.048 GB, free: 148 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001071/0.6588, allocations: 410.1 kB / 1.048 GB, free: 147.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00231/0.6611, allocations: 0.6688 MB / 1.049 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.663, allocations: 0.8985 MB / 1.049 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.663, allocations: 1.094 kB / 1.049 GB, free: 147.3 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009453/0.6639, allocations: 0.5272 MB / 1.05 GB, free: 147 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6652, allocations: 334.5 kB / 1.05 GB, free: 146.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.6686, allocations: 2.068 MB / 1.052 GB, free: 145.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006303/0.6692, allocations: 0.5321 MB / 1.053 GB, free: 145.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0008407/0.6701, allocations: 274.2 kB / 1.053 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.6704, allocations: 117.7 kB / 1.053 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of SimCode: time 9.22e-07/0.6704, allocations: 1.781 kB / 1.053 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.02678/0.6971, allocations: 16.41 MB / 1.069 GB, free: 138.2 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.704414807027206]