Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHouAng.solHouAng",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008721/0.008721, allocations: 102.3 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 191 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8561/0.8573, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005496/0.8628, allocations: 4.286 MB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1854/1.048, allocations: 150.5 MB / 1.239 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001982/1.05, allocations: 20.25 kB / 1.239 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009586/1.051, allocations: 172.3 kB / 1.239 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/1.054, allocations: 0.511 MB / 1.24 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002589/1.057, allocations: 0.8288 MB / 1.241 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001719/1.058, allocations: 1.282 MB / 1.242 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/1.059, allocations: 0.6119 MB / 1.242 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000699/1.06, allocations: 477.8 kB / 1.243 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005589/1.06, allocations: 480.5 kB / 1.243 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/1.061, allocations: 113.7 kB / 1.243 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001009/1.062, allocations: 490.1 kB / 1.244 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002757/1.062, allocations: 288.7 kB / 1.244 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004513/1.062, allocations: 0.5367 MB / 1.245 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/1.064, allocations: 1.583 MB / 1.246 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.064, allocations: 0 / 1.246 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.303e-06/1.064, allocations: 0 / 1.246 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.064, allocations: 4 kB / 1.246 GB, free: 11.58 MB / 0.9825 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.002346/1.067, allocations: 1.395 MB / 1.248 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.067, allocations: 8.031 kB / 1.248 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008681/1.067, allocations: 187.4 kB / 1.248 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/1.069, allocations: 0.7578 MB / 1.249 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/1.069, allocations: 62 kB / 1.249 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.9e-05/1.069, allocations: 76 kB / 1.249 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/1.07, allocations: 0.9028 MB / 1.25 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/1.07, allocations: 0 / 1.25 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.128e-05/1.07, allocations: 40 kB / 1.25 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/1.07, allocations: 20 kB / 1.25 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/1.072, allocations: 1.097 MB / 1.251 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/1.076, allocations: 2.425 MB / 1.253 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.077, allocations: 0.8689 MB / 1.254 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/1.078, allocations: 298.7 kB / 1.254 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.328e-05/1.078, allocations: 32.59 kB / 1.254 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008094/1.078, allocations: 491.1 kB / 1.255 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=79): time 2.195e-06/1.078, allocations: 0 / 1.255 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of matching and sorting (n=79): time 0.003011/1.081, allocations: 1.17 MB / 1.256 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.082, allocations: 192.5 kB / 1.256 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007407/1.082, allocations: 0.6254 MB / 1.257 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/1.082, allocations: 41.7 kB / 1.257 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/1.083, allocations: 392.3 kB / 1.257 GB, free: 204 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/1.083, allocations: 256.8 kB / 1.257 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/1.083, allocations: 162.5 kB / 1.257 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.083, allocations: 386.7 kB / 1.258 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/1.084, allocations: 265.8 kB / 1.258 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/1.084, allocations: 359.1 kB / 1.258 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.085, allocations: 0.5916 MB / 1.259 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.085, allocations: 0 / 1.259 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00186/1.087, allocations: 0.837 MB / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.087, allocations: 4 kB / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/1.087, allocations: 0 / 1.26 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005849/1.088, allocations: 84.86 kB / 1.26 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/1.089, allocations: 159.8 kB / 1.26 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/1.091, allocations: 1.63 MB / 1.262 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007105/1.092, allocations: 87.33 kB / 1.262 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.663e-05/1.092, allocations: 35.97 kB / 1.262 GB, free: 11.16 MB / 0.9981 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.0004348/1.092, allocations: 271.4 kB / 1.262 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/1.092, allocations: 83.05 kB / 1.262 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/1.095, allocations: 1.046 MB / 1.263 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/1.095, allocations: 8 kB / 1.263 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.095, allocations: 0 / 1.263 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.095, allocations: 7.922 kB / 1.263 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/1.098, allocations: 1.9 MB / 1.265 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.098, allocations: 0 / 1.265 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/1.098, allocations: 147.8 kB / 1.265 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004385/1.099, allocations: 76.77 kB / 1.265 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.143e-05/1.099, allocations: 27.98 kB / 1.265 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/1.101, allocations: 1.658 MB / 1.267 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.101, allocations: 0 / 1.267 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/1.103, allocations: 0.9823 MB / 1.268 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/1.103, allocations: 271.7 kB / 1.268 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.103, allocations: 16 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/1.104, allocations: 70.73 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.104, allocations: 64.91 kB / 1.268 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.83e-05/1.104, allocations: 35.97 kB / 1.268 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005968/1.105, allocations: 455 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.105, allocations: 0 / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009328/1.106, allocations: 303.3 kB / 1.269 GB, free: 3.508 MB / 0.9981 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.001496/1.107, allocations: 0.6128 MB / 1.27 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00175/1.109, allocations: 0.8235 MB / 1.27 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.109, allocations: 0 / 1.27 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000884/1.11, allocations: 0.5081 MB / 1.271 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/1.111, allocations: 289.3 kB / 1.271 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/1.114, allocations: 1.716 MB / 1.273 GB, free: 15.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005733/1.115, allocations: 1.016 MB / 1.274 GB, free: 14.67 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007317/1.116, allocations: 262.4 kB / 1.274 GB, free: 14.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/1.116, allocations: 103.4 kB / 1.274 GB, free: 14.3 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.116, allocations: 4 kB / 1.274 GB, free: 14.3 MB / 1.014 GB Notification: Performance of Templates: time 0.02418/1.14, allocations: 14.7 MB / 1.289 GB, free: 15.77 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches