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.001627/0.001627, allocations: 113 kB / 17.6 MB, free: 4.684 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.001737/0.001737, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.546/1.546, allocations: 225.6 MB / 249.4 MB, free: 3.293 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 2.947/2.947, allocations: 496.2 MB / 0.7819 GB, free: 12.23 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.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.003157/0.003157, allocations: 71.88 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.098, allocations: 173.6 MB / 1.305 GB, free: 33.39 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005292/1.104, allocations: 4.854 MB / 1.31 GB, free: 29.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1995/1.303, allocations: 151.1 MB / 1.458 GB, free: 108 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001148/1.304, allocations: 19.12 kB / 1.458 GB, free: 100 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/1.305, allocations: 187.4 kB / 1.458 GB, free: 15.97 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002589/1.308, allocations: 0.5408 MB / 1.458 GB, free: 15.65 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002658/1.311, allocations: 0.8516 MB / 1.459 GB, free: 15.18 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002446/1.313, allocations: 1.366 MB / 1.461 GB, free: 14.47 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/1.314, allocations: 412.7 kB / 1.461 GB, free: 14.21 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/1.315, allocations: 481.4 kB / 1.461 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007863/1.316, allocations: 497.8 kB / 1.462 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001833/1.316, allocations: 113.9 kB / 1.462 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/1.317, allocations: 488.3 kB / 1.463 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/1.318, allocations: 294.5 kB / 1.463 GB, free: 13.42 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006291/1.318, allocations: 0.5442 MB / 1.463 GB, free: 13.05 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/1.321, allocations: 1.617 MB / 1.465 GB, free: 12.36 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.321, allocations: 6.016 kB / 1.465 GB, free: 12.36 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.443e-06/1.321, allocations: 0 / 1.465 GB, free: 12.36 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.344e-05/1.321, allocations: 0 / 1.465 GB, free: 12.36 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003257/1.324, allocations: 1.444 MB / 1.466 GB, free: 11.37 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/1.324, allocations: 9.375 kB / 1.466 GB, free: 11.37 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/1.325, allocations: 194.3 kB / 1.467 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/1.327, allocations: 0.7548 MB / 1.467 GB, free: 10.8 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.072e-05/1.327, allocations: 67.58 kB / 1.467 GB, free: 10.77 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.327, allocations: 78.73 kB / 1.467 GB, free: 10.75 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/1.329, allocations: 0.9019 MB / 1.468 GB, free: 10.33 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.329, allocations: 0 / 1.468 GB, free: 10.33 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.962e-05/1.329, allocations: 37.75 kB / 1.468 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/1.329, allocations: 19.97 kB / 1.468 GB, free: 10.3 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/1.331, allocations: 1.102 MB / 1.469 GB, free: 9.836 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004554/1.335, allocations: 2.706 MB / 1.472 GB, free: 7.633 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/1.337, allocations: 0.8187 MB / 1.473 GB, free: 7.156 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/1.338, allocations: 270.9 kB / 1.473 GB, free: 7.016 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.692e-05/1.338, allocations: 34.19 kB / 1.473 GB, free: 6.996 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009425/1.339, allocations: 0.49 MB / 1.474 GB, free: 6.676 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 2.645e-06/1.339, allocations: 0 / 1.474 GB, free: 6.676 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.003593/1.342, allocations: 1.177 MB / 1.475 GB, free: 6.043 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/1.342, allocations: 193.7 kB / 1.475 GB, free: 5.82 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/1.343, allocations: 0.6242 MB / 1.476 GB, free: 5.453 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-05/1.343, allocations: 42.27 kB / 1.476 GB, free: 5.41 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/1.344, allocations: 395.4 kB / 1.476 GB, free: 5.062 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/1.344, allocations: 273.8 kB / 1.476 GB, free: 4.824 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002884/1.344, allocations: 162.7 kB / 1.476 GB, free: 4.727 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002321/1.345, allocations: 392.6 kB / 1.477 GB, free: 4.352 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005592/1.345, allocations: 261.8 kB / 1.477 GB, free: 4.223 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006737/1.346, allocations: 362.2 kB / 1.477 GB, free: 4.016 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/1.347, allocations: 0.5953 MB / 1.478 GB, free: 3.691 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.347, allocations: 0 / 1.478 GB, free: 3.691 MB / 1.154 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002169/1.349, allocations: 0.8399 MB / 1.479 GB, free: 3.266 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/1.349, allocations: 4.969 kB / 1.479 GB, free: 3.266 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.349, allocations: 1.344 kB / 1.479 GB, free: 3.266 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006329/1.35, allocations: 88.02 kB / 1.479 GB, free: 3.219 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/1.351, allocations: 158.8 kB / 1.479 GB, free: 3.18 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00246/1.353, allocations: 1.636 MB / 1.481 GB, free: 1.566 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/1.354, allocations: 97.92 kB / 1.481 GB, free: 1.504 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/1.354, allocations: 34.19 kB / 1.481 GB, free: 1.492 MB / 1.154 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.0005513/1.355, allocations: 269.3 kB / 1.481 GB, free: 1.281 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/1.355, allocations: 85.78 kB / 1.481 GB, free: 1.234 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002504/1.357, allocations: 1.052 MB / 1.482 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.357, allocations: 14.06 kB / 1.482 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/1.357, allocations: 0 / 1.482 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.357, allocations: 7.922 kB / 1.482 GB, free: 0.6328 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004065/1.361, allocations: 1.908 MB / 1.484 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/1.361, allocations: 1.094 kB / 1.484 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/1.362, allocations: 141 kB / 1.484 GB, free: 15.32 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/1.362, allocations: 69.88 kB / 1.484 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/1.363, allocations: 27.14 kB / 1.484 GB, free: 15.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002142/1.365, allocations: 1.658 MB / 1.486 GB, free: 13.65 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.365, allocations: 4 kB / 1.486 GB, free: 13.64 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/1.367, allocations: 0.9893 MB / 1.487 GB, free: 13.09 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004927/1.367, allocations: 267.7 kB / 1.487 GB, free: 12.85 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/1.368, allocations: 17.88 kB / 1.487 GB, free: 12.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/1.368, allocations: 65.92 kB / 1.487 GB, free: 12.8 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.368, allocations: 70.42 kB / 1.487 GB, free: 12.77 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/1.368, allocations: 29.73 kB / 1.487 GB, free: 12.76 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006795/1.369, allocations: 457.6 kB / 1.488 GB, free: 12.49 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/1.369, allocations: 3.938 kB / 1.488 GB, free: 12.49 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001057/1.37, allocations: 323.5 kB / 1.488 GB, free: 12.39 MB / 1.17 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.002016/1.372, allocations: 0.5983 MB / 1.489 GB, free: 12.11 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001897/1.374, allocations: 0.8007 MB / 1.489 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/1.374, allocations: 0 / 1.489 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009732/1.375, allocations: 492.4 kB / 1.49 GB, free: 10.96 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/1.376, allocations: 305.2 kB / 1.49 GB, free: 10.68 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/1.38, allocations: 1.636 MB / 1.492 GB, free: 9.016 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000694/1.38, allocations: 1.019 MB / 1.493 GB, free: 7.969 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008827/1.381, allocations: 258.5 kB / 1.493 GB, free: 7.711 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/1.382, allocations: 107.3 kB / 1.493 GB, free: 7.605 MB / 1.17 GB Notification: Performance of SimCode: time 1.283e-06/1.382, allocations: 0 / 1.493 GB, free: 7.605 MB / 1.17 GB Notification: Performance of Templates: time 0.02966/1.411, allocations: 15.41 MB / 1.508 GB, free: 8.355 MB / 1.186 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 400] 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.380077539943159]