Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.019/3.019, allocations: 496.2 MB / 0.7819 GB, free: 12.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 63.89 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2/1.202, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00744/1.21, allocations: 7.123 MB / 1.312 GB, free: 28.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2199/1.43, allocations: 151.7 MB / 1.46 GB, free: 14.06 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/1.431, allocations: 25.91 kB / 1.461 GB, free: 14.05 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009685/1.432, allocations: 266.2 kB / 1.461 GB, free: 13.88 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003383/1.436, allocations: 0.7827 MB / 1.462 GB, free: 13.38 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003528/1.439, allocations: 1.038 MB / 1.463 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004322/1.444, allocations: 2.102 MB / 1.465 GB, free: 11.68 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/1.445, allocations: 0.7625 MB / 1.465 GB, free: 11.19 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/1.447, allocations: 0.83 MB / 1.466 GB, free: 10.76 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001574/1.449, allocations: 0.8801 MB / 1.467 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004278/1.449, allocations: 219 kB / 1.467 GB, free: 10.29 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/1.451, allocations: 0.5785 MB / 1.468 GB, free: 10.16 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/1.451, allocations: 492.2 kB / 1.468 GB, free: 9.836 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001258/1.452, allocations: 0.9677 MB / 1.469 GB, free: 9.195 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005606/1.458, allocations: 2.679 MB / 1.472 GB, free: 7.625 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.458, allocations: 4 kB / 1.472 GB, free: 7.621 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.615e-06/1.458, allocations: 0 / 1.472 GB, free: 7.621 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.291e-05/1.458, allocations: 1.188 kB / 1.472 GB, free: 7.621 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.007832/1.466, allocations: 2.098 MB / 1.474 GB, free: 6.012 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/1.466, allocations: 14.12 kB / 1.474 GB, free: 6.008 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/1.468, allocations: 266.9 kB / 1.474 GB, free: 5.875 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/1.471, allocations: 0.9911 MB / 1.475 GB, free: 5.07 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002615/1.471, allocations: 150.4 kB / 1.475 GB, free: 4.98 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/1.472, allocations: 149 kB / 1.475 GB, free: 4.934 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005303/1.477, allocations: 1.593 MB / 1.477 GB, free: 3.945 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/1.477, allocations: 0 / 1.477 GB, free: 3.945 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/1.477, allocations: 66.5 kB / 1.477 GB, free: 3.895 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-05/1.477, allocations: 38.25 kB / 1.477 GB, free: 3.895 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00481/1.482, allocations: 1.595 MB / 1.479 GB, free: 3.117 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0154/1.497, allocations: 4.991 MB / 1.483 GB, free: 14.98 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004/1.501, allocations: 1.034 MB / 1.484 GB, free: 14.44 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/1.503, allocations: 396.5 kB / 1.485 GB, free: 14.23 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001813/1.503, allocations: 43.89 kB / 1.485 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002415/1.506, allocations: 0.7028 MB / 1.486 GB, free: 13.77 MB / 1.17 GB Notification: Performance of pre-optimization done (n=111): time 4.969e-06/1.506, allocations: 0 / 1.486 GB, free: 13.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=111): time 0.007743/1.513, allocations: 1.659 MB / 1.487 GB, free: 12.88 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/1.514, allocations: 192.5 kB / 1.487 GB, free: 12.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002748/1.516, allocations: 0.8402 MB / 1.488 GB, free: 12.19 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003064/1.517, allocations: 52.44 kB / 1.488 GB, free: 12.14 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.518, allocations: 0.6269 MB / 1.489 GB, free: 11.58 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007944/1.518, allocations: 382.4 kB / 1.489 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007303/1.519, allocations: 227 kB / 1.489 GB, free: 11.11 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002706/1.519, allocations: 347.9 kB / 1.49 GB, free: 10.78 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/1.521, allocations: 400.9 kB / 1.49 GB, free: 10.57 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/1.523, allocations: 0.5094 MB / 1.491 GB, free: 10.14 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/1.526, allocations: 0.8877 MB / 1.492 GB, free: 9.242 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.526, allocations: 0 / 1.492 GB, free: 9.242 MB / 1.17 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.005355/1.531, allocations: 1.219 MB / 1.493 GB, free: 8.012 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.489e-05/1.531, allocations: 5.719 kB / 1.493 GB, free: 8.008 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.531, allocations: 0 / 1.493 GB, free: 8.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.532, allocations: 84.88 kB / 1.493 GB, free: 7.922 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.534, allocations: 231.7 kB / 1.493 GB, free: 7.695 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/1.539, allocations: 1.65 MB / 1.495 GB, free: 5.895 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002466/1.541, allocations: 143.2 kB / 1.495 GB, free: 5.754 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002532/1.541, allocations: 51.95 kB / 1.495 GB, free: 5.703 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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 (135): * Single equations (assignments): 134 * 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.001452/1.543, allocations: 356.3 kB / 1.495 GB, free: 5.348 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/1.543, allocations: 119.2 kB / 1.495 GB, free: 5.23 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006482/1.55, allocations: 1.52 MB / 1.497 GB, free: 3.691 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.703e-05/1.55, allocations: 12 kB / 1.497 GB, free: 3.68 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.55, allocations: 4 kB / 1.497 GB, free: 3.676 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.8e-05/1.55, allocations: 7.969 kB / 1.497 GB, free: 3.668 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003664/1.554, allocations: 1.376 MB / 1.498 GB, free: 2.242 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/1.554, allocations: 4 kB / 1.498 GB, free: 2.238 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001719/1.555, allocations: 195.7 kB / 1.498 GB, free: 2.047 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008384/1.556, allocations: 80.78 kB / 1.498 GB, free: 1.965 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/1.556, allocations: 35.97 kB / 1.498 GB, free: 1.93 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/1.56, allocations: 1.67 MB / 1.5 GB, free: 120 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.56, allocations: 0 / 1.5 GB, free: 120 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/1.566, allocations: 1.293 MB / 1.501 GB, free: 14.8 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001329/1.567, allocations: 363.8 kB / 1.502 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003728/1.567, allocations: 31.94 kB / 1.502 GB, free: 14.39 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.569, allocations: 82.11 kB / 1.502 GB, free: 14.32 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003484/1.569, allocations: 97.17 kB / 1.502 GB, free: 14.22 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/1.569, allocations: 51.95 kB / 1.502 GB, free: 14.17 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001676/1.571, allocations: 0.6135 MB / 1.503 GB, free: 13.55 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.61e-07/1.571, allocations: 0 / 1.503 GB, free: 13.55 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002555/1.574, allocations: 486.6 kB / 1.503 GB, free: 13.07 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003432/1.577, allocations: 0.6222 MB / 1.504 GB, free: 12.62 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004622/1.582, allocations: 1.103 MB / 1.505 GB, free: 11.5 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/1.582, allocations: 4.188 kB / 1.505 GB, free: 11.5 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/1.584, allocations: 0.6425 MB / 1.505 GB, free: 10.85 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/1.587, allocations: 350.4 kB / 1.506 GB, free: 10.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009149/1.596, allocations: 2.524 MB / 1.508 GB, free: 7.965 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/1.598, allocations: 1.216 MB / 1.509 GB, free: 6.715 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.00238/1.6, allocations: 317.2 kB / 1.51 GB, free: 6.402 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007491/1.601, allocations: 151.4 kB / 1.51 GB, free: 6.254 MB / 1.186 GB Notification: Performance of SimCode: time 1.844e-06/1.601, allocations: 0 / 1.51 GB, free: 6.254 MB / 1.186 GB Notification: Performance of Templates: time 0.07682/1.678, allocations: 21.37 MB / 1.531 GB, free: 1.094 MB / 1.201 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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: 10.960200482979417]