Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001348/0.001348, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001401/0.001401, allocations: 193.2 kB / 20.03 MB, free: 3.082 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: 222.9 MB / 245.7 MB, free: 4.219 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.066/3.066, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 71.88 kB / 1.103 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007037/1.152, allocations: 5.012 MB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.2098/1.362, allocations: 150.7 MB / 1.415 GB, free: 4.641 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/1.364, allocations: 15.09 kB / 1.415 GB, free: 4.637 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/1.365, allocations: 202.8 kB / 1.415 GB, free: 4.457 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00293/1.368, allocations: 0.5607 MB / 1.415 GB, free: 4.035 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003329/1.371, allocations: 0.8856 MB / 1.416 GB, free: 3.363 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002827/1.374, allocations: 1.477 MB / 1.418 GB, free: 2.445 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00144/1.375, allocations: 0.6024 MB / 1.418 GB, free: 2.07 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/1.377, allocations: 0.5145 MB / 1.419 GB, free: 1.758 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/1.378, allocations: 0.5362 MB / 1.419 GB, free: 1.379 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004069/1.378, allocations: 120.8 kB / 1.419 GB, free: 1.379 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/1.38, allocations: 0.5049 MB / 1.42 GB, free: 1.184 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005312/1.381, allocations: 312.6 kB / 1.42 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/1.382, allocations: 0.5929 MB / 1.421 GB, free: 0.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003575/1.385, allocations: 1.726 MB / 1.422 GB, free: 15.26 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/1.386, allocations: 0 / 1.422 GB, free: 15.26 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.813e-06/1.386, allocations: 0 / 1.422 GB, free: 15.26 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.267e-05/1.386, allocations: 0 / 1.422 GB, free: 15.26 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003893/1.389, allocations: 1.54 MB / 1.424 GB, free: 14.04 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/1.39, allocations: 10.28 kB / 1.424 GB, free: 14.04 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.391, allocations: 198.7 kB / 1.424 GB, free: 13.95 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/1.392, allocations: 0.7864 MB / 1.425 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.403e-05/1.392, allocations: 70.2 kB / 1.425 GB, free: 13.27 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.392, allocations: 93.5 kB / 1.425 GB, free: 13.23 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/1.394, allocations: 0.9764 MB / 1.426 GB, free: 12.61 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/1.394, allocations: 1.125 kB / 1.426 GB, free: 12.61 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.697e-05/1.395, allocations: 37.09 kB / 1.426 GB, free: 12.58 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/1.395, allocations: 21.97 kB / 1.426 GB, free: 12.58 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/1.397, allocations: 1.164 MB / 1.427 GB, free: 12.02 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005597/1.402, allocations: 2.943 MB / 1.43 GB, free: 9.648 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/1.405, allocations: 0.9771 MB / 1.431 GB, free: 9.113 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006588/1.405, allocations: 329.4 kB / 1.431 GB, free: 8.945 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/1.406, allocations: 36.22 kB / 1.431 GB, free: 8.926 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00104/1.407, allocations: 0.5408 MB / 1.432 GB, free: 8.578 MB / 1.123 GB Notification: Performance of pre-optimization done (n=88): time 3.186e-06/1.407, allocations: 0 / 1.432 GB, free: 8.578 MB / 1.123 GB Notification: Performance of matching and sorting (n=88): time 0.003764/1.41, allocations: 1.303 MB / 1.433 GB, free: 7.879 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.411, allocations: 190.4 kB / 1.433 GB, free: 7.656 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/1.412, allocations: 0.6589 MB / 1.434 GB, free: 7.266 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.412, allocations: 43.2 kB / 1.434 GB, free: 7.223 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/1.412, allocations: 410.6 kB / 1.435 GB, free: 6.863 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/1.413, allocations: 296.6 kB / 1.435 GB, free: 6.605 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/1.413, allocations: 182.1 kB / 1.435 GB, free: 6.496 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002302/1.413, allocations: 393.4 kB / 1.435 GB, free: 6.121 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006366/1.414, allocations: 287.4 kB / 1.436 GB, free: 5.984 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007614/1.415, allocations: 391 kB / 1.436 GB, free: 5.758 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/1.416, allocations: 0.6533 MB / 1.437 GB, free: 5.41 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/1.416, allocations: 0 / 1.437 GB, free: 5.41 MB / 1.123 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00245/1.418, allocations: 0.9178 MB / 1.438 GB, free: 4.523 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/1.418, allocations: 4 kB / 1.438 GB, free: 4.52 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.418, allocations: 4.062 kB / 1.438 GB, free: 4.516 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/1.419, allocations: 92.77 kB / 1.438 GB, free: 4.422 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007644/1.42, allocations: 179.7 kB / 1.438 GB, free: 4.246 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/1.422, allocations: 1.63 MB / 1.439 GB, free: 2.469 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.423, allocations: 104.8 kB / 1.439 GB, free: 2.367 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.424, allocations: 47.95 kB / 1.44 GB, free: 2.32 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0005937/1.424, allocations: 275.8 kB / 1.44 GB, free: 2.039 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.424, allocations: 87.44 kB / 1.44 GB, free: 1.953 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/1.427, allocations: 1.195 MB / 1.441 GB, free: 0.7422 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/1.427, allocations: 12 kB / 1.441 GB, free: 0.7305 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/1.427, allocations: 3.938 kB / 1.441 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/1.427, allocations: 7.969 kB / 1.441 GB, free: 0.7188 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/1.431, allocations: 2.095 MB / 1.443 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.431, allocations: 0 / 1.443 GB, free: 14.56 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/1.432, allocations: 167.8 kB / 1.443 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/1.432, allocations: 76.78 kB / 1.443 GB, free: 14.32 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/1.433, allocations: 31.97 kB / 1.443 GB, free: 14.29 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/1.435, allocations: 1.65 MB / 1.445 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/1.435, allocations: 3.938 kB / 1.445 GB, free: 12.49 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002559/1.437, allocations: 1.092 MB / 1.446 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/1.438, allocations: 300.1 kB / 1.446 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/1.438, allocations: 19.95 kB / 1.446 GB, free: 11.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000745/1.439, allocations: 75.92 kB / 1.446 GB, free: 10.97 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/1.439, allocations: 84.77 kB / 1.447 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.98e-05/1.439, allocations: 43.97 kB / 1.447 GB, free: 10.85 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0006894/1.44, allocations: 471 kB / 1.447 GB, free: 10.39 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.5e-07/1.44, allocations: 0 / 1.447 GB, free: 10.39 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001099/1.441, allocations: 355.1 kB / 1.447 GB, free: 10.05 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002061/1.443, allocations: 0.6209 MB / 1.448 GB, free: 9.609 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002099/1.445, allocations: 0.9016 MB / 1.449 GB, free: 8.691 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/1.445, allocations: 4 kB / 1.449 GB, free: 8.688 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/1.446, allocations: 0.5626 MB / 1.449 GB, free: 8.117 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/1.448, allocations: 306.9 kB / 1.45 GB, free: 7.832 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/1.451, allocations: 1.81 MB / 1.451 GB, free: 5.988 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007665/1.452, allocations: 1.054 MB / 1.452 GB, free: 4.91 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004523/1.453, allocations: 123.4 kB / 1.453 GB, free: 4.789 MB / 1.139 GB Notification: Performance of SimCode: time 7.62e-07/1.453, allocations: 0 / 1.453 GB, free: 4.789 MB / 1.139 GB Notification: Performance of Templates: time 0.03071/1.483, allocations: 19.65 MB / 1.472 GB, free: 1.195 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,solAzi.solAzi Variables in the result:solAzi.solAzi,time [Calling sys.exit(0), Time elapsed: 15.023526318836957]