Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001794/0.001794, allocations: 110 kB / 18.93 MB, free: 2.945 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.002118/0.002118, allocations: 188 kB / 22.22 MB, free: 5.164 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.439/1.439, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.308/3.308, allocations: 495.7 MB / 0.7831 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 66.2 kB / 1.137 GB, free: 33.93 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 173.6 MB / 1.307 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007614/0.3846, allocations: 4.855 MB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2177/0.6023, allocations: 151.2 MB / 1.459 GB, free: 5.312 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.6035, allocations: 27.81 kB / 1.459 GB, free: 5.285 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.6045, allocations: 190.3 kB / 1.46 GB, free: 5.098 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00253/0.607, allocations: 0.546 MB / 1.46 GB, free: 4.555 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.6099, allocations: 0.8556 MB / 1.461 GB, free: 3.703 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002468/0.6124, allocations: 1.37 MB / 1.462 GB, free: 2.328 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001277/0.6137, allocations: 405.9 kB / 1.463 GB, free: 1.902 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.6149, allocations: 490.3 kB / 1.463 GB, free: 1.422 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.6161, allocations: 0.4979 MB / 1.464 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.6164, allocations: 112 kB / 1.464 GB, free: 0.8125 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001561/0.618, allocations: 487.6 kB / 1.464 GB, free: 344 kB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.6184, allocations: 295 kB / 1.464 GB, free: 48 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.6195, allocations: 0.5402 MB / 1.465 GB, free: 15.5 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003906/0.6234, allocations: 1.619 MB / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.6234, allocations: 0 / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6234, allocations: 0 / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.281e-05/0.6235, allocations: 3.938 kB / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003669/0.6272, allocations: 1.372 MB / 1.468 GB, free: 12.47 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.6272, allocations: 8.031 kB / 1.468 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.6283, allocations: 188.1 kB / 1.468 GB, free: 12.28 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.6298, allocations: 0.6979 MB / 1.469 GB, free: 11.55 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/0.6299, allocations: 62 kB / 1.469 GB, free: 11.5 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.63, allocations: 80 kB / 1.469 GB, free: 11.42 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001825/0.6318, allocations: 0.9066 MB / 1.47 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.6318, allocations: 0 / 1.47 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.6319, allocations: 39.94 kB / 1.47 GB, free: 10.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.632, allocations: 20 kB / 1.47 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.6339, allocations: 1.097 MB / 1.471 GB, free: 9.316 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004794/0.6387, allocations: 2.658 MB / 1.473 GB, free: 6.527 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.6403, allocations: 0.7416 MB / 1.474 GB, free: 5.773 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005847/0.6409, allocations: 278.7 kB / 1.474 GB, free: 5.5 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.641, allocations: 32.61 kB / 1.475 GB, free: 5.469 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.6421, allocations: 491.1 kB / 1.475 GB, free: 4.969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=79): time 4.208e-06/0.6421, allocations: 0 / 1.475 GB, free: 4.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=79): time 0.003565/0.6456, allocations: 1.109 MB / 1.476 GB, free: 3.852 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.6458, allocations: 188.6 kB / 1.476 GB, free: 3.625 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008752/0.6466, allocations: 0.6253 MB / 1.477 GB, free: 2.992 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.171e-05/0.6467, allocations: 45.69 kB / 1.477 GB, free: 2.941 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.6471, allocations: 401 kB / 1.477 GB, free: 2.543 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.6473, allocations: 269.7 kB / 1.478 GB, free: 2.277 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002793/0.6476, allocations: 162.5 kB / 1.478 GB, free: 2.109 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002175/0.6478, allocations: 386.7 kB / 1.478 GB, free: 1.723 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/0.6484, allocations: 261.9 kB / 1.478 GB, free: 1.469 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.6491, allocations: 363 kB / 1.479 GB, free: 1.102 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.6502, allocations: 0.6033 MB / 1.479 GB, free: 496 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.6502, allocations: 0 / 1.479 GB, free: 496 kB / 1.17 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00212/0.6524, allocations: 0.8336 MB / 1.48 GB, free: 15.64 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.6524, allocations: 8 kB / 1.48 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.6524, allocations: 0 / 1.48 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006549/0.653, allocations: 80.88 kB / 1.48 GB, free: 15.55 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/0.6537, allocations: 167.7 kB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/0.6562, allocations: 1.525 MB / 1.482 GB, free: 13.74 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008371/0.6571, allocations: 93.17 kB / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.649e-05/0.6572, allocations: 31.98 kB / 1.482 GB, free: 13.62 MB / 1.186 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 (93): * Single equations (assignments): 92 * 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.0005292/0.6577, allocations: 275.4 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.6579, allocations: 83.73 kB / 1.482 GB, free: 13.26 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.6604, allocations: 1.05 MB / 1.483 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.6604, allocations: 11.94 kB / 1.483 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6604, allocations: 3.984 kB / 1.483 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.6604, allocations: 11.86 kB / 1.483 GB, free: 12.17 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.6639, allocations: 1.868 MB / 1.485 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.6639, allocations: 3.938 kB / 1.485 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000581/0.6645, allocations: 143.8 kB / 1.485 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005643/0.6651, allocations: 72.78 kB / 1.485 GB, free: 10.03 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.6651, allocations: 23.98 kB / 1.485 GB, free: 10.01 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.6673, allocations: 1.567 MB / 1.487 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6673, allocations: 0 / 1.487 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.6695, allocations: 0.9867 MB / 1.488 GB, free: 7.312 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/0.6699, allocations: 195.1 kB / 1.488 GB, free: 7.121 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.6701, allocations: 23.94 kB / 1.488 GB, free: 7.098 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006608/0.6707, allocations: 63.94 kB / 1.488 GB, free: 7.035 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.6709, allocations: 68.86 kB / 1.488 GB, free: 6.969 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.671, allocations: 39.97 kB / 1.488 GB, free: 6.93 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000641/0.6716, allocations: 443 kB / 1.489 GB, free: 6.5 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.6716, allocations: 0 / 1.489 GB, free: 6.5 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009361/0.6725, allocations: 323.2 kB / 1.489 GB, free: 6.184 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: 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.001925/0.6745, allocations: 0.6038 MB / 1.49 GB, free: 5.754 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001808/0.6763, allocations: 0.7962 MB / 1.49 GB, free: 4.945 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.6763, allocations: 0 / 1.49 GB, free: 4.945 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0009785/0.6772, allocations: 496.2 kB / 1.491 GB, free: 4.449 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.6786, allocations: 304.4 kB / 1.491 GB, free: 4.172 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/0.6817, allocations: 1.639 MB / 1.493 GB, free: 2.504 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.6825, allocations: 1.012 MB / 1.494 GB, free: 1.465 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008399/0.6833, allocations: 262.5 kB / 1.494 GB, free: 1.203 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.6836, allocations: 115.3 kB / 1.494 GB, free: 1.09 MB / 1.186 GB Notification: Performance of SimCode: time 1.162e-06/0.6836, allocations: 0 / 1.494 GB, free: 1.09 MB / 1.186 GB Notification: Performance of Templates: time 0.0294/0.713, allocations: 15.62 MB / 1.509 GB, free: 1.637 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.123459752649069]