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.002504/0.002504, allocations: 93.47 kB / 19.44 MB, free: 332 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.002042/0.002042, allocations: 169.2 kB / 22.76 MB, free: 1.66 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.535/1.535, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.321/3.321, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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 1.563e-06/1.563e-06, allocations: 0 / 0.8774 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.635e-05, allocations: 4.703 kB / 0.8774 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.009046/0.009073, allocations: 5.724 MB / 0.883 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.2115/0.2206, allocations: 146.5 MB / 1.026 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000852/0.2215, allocations: 27.75 kB / 1.026 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.2222, allocations: 249.6 kB / 1.026 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.2241, allocations: 0.6598 MB / 1.027 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.2263, allocations: 0.9075 MB / 1.028 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002345/0.2286, allocations: 1.747 MB / 1.03 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.2297, allocations: 0.5815 MB / 1.03 GB, free: 9.586 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.2311, allocations: 0.9629 MB / 1.031 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/0.2319, allocations: 0.5063 MB / 1.032 GB, free: 8.113 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002551/0.2321, allocations: 164 kB / 1.032 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.2332, allocations: 0.5306 MB / 1.032 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.2337, allocations: 398.6 kB / 1.033 GB, free: 7.031 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006517/0.2343, allocations: 0.5066 MB / 1.033 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002894/0.2372, allocations: 2.219 MB / 1.035 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2372, allocations: 0 / 1.035 GB, free: 4.297 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2372, allocations: 7.938 kB / 1.035 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.2372, allocations: 0 / 1.035 GB, free: 4.289 MB / 0.9948 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.003688/0.2409, allocations: 1.939 MB / 1.037 GB, free: 2.305 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.241, allocations: 8.031 kB / 1.037 GB, free: 2.297 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.2427, allocations: 395.4 kB / 1.038 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.2443, allocations: 0.8418 MB / 1.038 GB, free: 1.035 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2444, allocations: 98.56 kB / 1.038 GB, free: 0.9375 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.2446, allocations: 131.9 kB / 1.039 GB, free: 0.8086 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.2472, allocations: 1.523 MB / 1.04 GB, free: 15.15 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.2472, allocations: 4 kB / 1.04 GB, free: 15.14 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.2473, allocations: 51.98 kB / 1.04 GB, free: 15.09 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.2474, allocations: 32 kB / 1.04 GB, free: 15.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.2497, allocations: 1.192 MB / 1.041 GB, free: 13.86 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007329/0.257, allocations: 3.707 MB / 1.045 GB, free: 10.05 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001691/0.2587, allocations: 0.7983 MB / 1.046 GB, free: 9.242 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005856/0.2593, allocations: 286.6 kB / 1.046 GB, free: 8.957 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.2594, allocations: 36.97 kB / 1.046 GB, free: 8.922 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/0.2605, allocations: 0.6511 MB / 1.047 GB, free: 8.227 MB / 1.01 GB Notification: Performance of pre-optimization done (n=95): time 2.685e-06/0.2605, allocations: 0 / 1.047 GB, free: 8.227 MB / 1.01 GB Notification: Performance of matching and sorting (n=95): time 0.003588/0.2641, allocations: 1.167 MB / 1.048 GB, free: 7.051 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.2643, allocations: 208.8 kB / 1.048 GB, free: 6.805 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.2655, allocations: 0.847 MB / 1.049 GB, free: 5.941 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.743e-05/0.2656, allocations: 49.7 kB / 1.049 GB, free: 5.887 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006369/0.2663, allocations: 0.6247 MB / 1.05 GB, free: 5.254 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.2666, allocations: 341.3 kB / 1.05 GB, free: 4.918 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006008/0.2672, allocations: 232.2 kB / 1.05 GB, free: 4.684 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004434/0.2677, allocations: 0.6328 MB / 1.051 GB, free: 4.039 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.2683, allocations: 265.9 kB / 1.051 GB, free: 3.777 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008792/0.2691, allocations: 0.533 MB / 1.051 GB, free: 3.191 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.2705, allocations: 0.6553 MB / 1.052 GB, free: 2.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.2705, allocations: 4 kB / 1.052 GB, free: 2.516 MB / 1.01 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002385/0.2728, allocations: 0.9456 MB / 1.053 GB, free: 1.562 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.2729, allocations: 4 kB / 1.053 GB, free: 1.559 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2729, allocations: 8.094 kB / 1.053 GB, free: 1.551 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.2739, allocations: 135.6 kB / 1.053 GB, free: 1.414 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008624/0.2748, allocations: 195.7 kB / 1.053 GB, free: 1.223 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3782/0.6529, allocations: 2.02 MB / 1.055 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00085/0.6538, allocations: 86.16 kB / 1.055 GB, free: 216.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.6538, allocations: 44.06 kB / 1.055 GB, free: 216.9 MB / 1.01 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.0004572/0.6543, allocations: 318.7 kB / 1.056 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.6545, allocations: 129.4 kB / 1.056 GB, free: 216.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.6566, allocations: 1.068 MB / 1.057 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.6566, allocations: 13.88 kB / 1.057 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.6566, allocations: 0 / 1.057 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.6566, allocations: 8.125 kB / 1.057 GB, free: 216.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003189/0.6598, allocations: 2.231 MB / 1.059 GB, free: 216.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.6598, allocations: 0.625 kB / 1.059 GB, free: 216.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005594/0.6604, allocations: 155.8 kB / 1.059 GB, free: 216.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/0.6611, allocations: 131.9 kB / 1.059 GB, free: 216.2 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.6611, allocations: 23.91 kB / 1.059 GB, free: 216.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.6626, allocations: 2.061 MB / 1.061 GB, free: 214.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6626, allocations: 0 / 1.061 GB, free: 214.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.6644, allocations: 1.13 MB / 1.063 GB, free: 213.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.6648, allocations: 216.5 kB / 1.063 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6649, allocations: 25.22 kB / 1.063 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005531/0.6655, allocations: 50.19 kB / 1.063 GB, free: 213.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.6656, allocations: 79.95 kB / 1.063 GB, free: 213.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.6657, allocations: 41.42 kB / 1.063 GB, free: 213.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004987/0.6662, allocations: 0.5261 MB / 1.063 GB, free: 213.4 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6662, allocations: 0 / 1.063 GB, free: 213.4 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0009077/0.6671, allocations: 411.1 kB / 1.064 GB, free: 213.3 MB / 1.01 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.003181/0.6703, allocations: 0.6652 MB / 1.064 GB, free: 213.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001483/0.6717, allocations: 0.9461 MB / 1.065 GB, free: 212.7 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6717, allocations: 2.844 kB / 1.065 GB, free: 212.7 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000807/0.6725, allocations: 0.6036 MB / 1.066 GB, free: 212.4 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.6738, allocations: 336.8 kB / 1.066 GB, free: 212.3 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.6765, allocations: 1.99 MB / 1.068 GB, free: 211.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.6769, allocations: 0.5228 MB / 1.069 GB, free: 211.1 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006457/0.6776, allocations: 266.7 kB / 1.069 GB, free: 211.1 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.6778, allocations: 114.1 kB / 1.069 GB, free: 211.1 MB / 1.01 GB Notification: Performance of SimCode: time 8.81e-07/0.6778, allocations: 0 / 1.069 GB, free: 211.1 MB / 1.01 GB Notification: Performance of Templates: time 0.02464/0.7025, allocations: 16.47 MB / 1.085 GB, free: 209 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] 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.706966531928629]