Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001658/0.001658, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001934/0.001934, allocations: 183 kB / 17.34 MB, free: 5.766 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.409/2.409, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 67.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8307, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007153/0.8379, allocations: 4.792 MB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1704/1.008, allocations: 150.6 MB / 1.319 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/1.009, allocations: 15.94 kB / 1.319 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000891/1.01, allocations: 194.2 kB / 1.319 GB, free: 7.648 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002337/1.013, allocations: 0.541 MB / 1.32 GB, free: 7.109 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/1.015, allocations: 0.8335 MB / 1.321 GB, free: 6.281 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002074/1.017, allocations: 1.362 MB / 1.322 GB, free: 4.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/1.018, allocations: 0.5753 MB / 1.322 GB, free: 4.309 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009705/1.019, allocations: 478.4 kB / 1.323 GB, free: 3.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009033/1.02, allocations: 0.4939 MB / 1.323 GB, free: 3.344 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003527/1.021, allocations: 112 kB / 1.324 GB, free: 3.234 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/1.022, allocations: 487.6 kB / 1.324 GB, free: 2.758 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/1.022, allocations: 295 kB / 1.324 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008554/1.023, allocations: 0.5519 MB / 1.325 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002666/1.026, allocations: 1.602 MB / 1.326 GB, free: 316 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.026, allocations: 0 / 1.326 GB, free: 316 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.383e-06/1.026, allocations: 0 / 1.326 GB, free: 316 kB / 1.045 GB Notification: Performance of Transformations before backend: time 5.097e-05/1.026, allocations: 0 / 1.326 GB, free: 316 kB / 1.045 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.003626/1.03, allocations: 1.409 MB / 1.328 GB, free: 14.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.03, allocations: 12.92 kB / 1.328 GB, free: 14.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.031, allocations: 187.4 kB / 1.328 GB, free: 14.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001559/1.032, allocations: 0.7617 MB / 1.329 GB, free: 13.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.486e-05/1.033, allocations: 58 kB / 1.329 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/1.033, allocations: 80 kB / 1.329 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001782/1.034, allocations: 0.9028 MB / 1.33 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.035, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.896e-05/1.035, allocations: 35.98 kB / 1.33 GB, free: 12.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/1.035, allocations: 20 kB / 1.33 GB, free: 12.72 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/1.036, allocations: 1.097 MB / 1.331 GB, free: 11.62 MB / 1.061 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004626/1.041, allocations: 2.665 MB / 1.333 GB, free: 8.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/1.043, allocations: 0.86 MB / 1.334 GB, free: 7.961 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/1.043, allocations: 304 kB / 1.335 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/1.043, allocations: 28.61 kB / 1.335 GB, free: 7.637 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008621/1.044, allocations: 495.1 kB / 1.335 GB, free: 7.133 MB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 3.717e-06/1.044, allocations: 0 / 1.335 GB, free: 7.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.003284/1.048, allocations: 1.178 MB / 1.336 GB, free: 5.926 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/1.048, allocations: 196.6 kB / 1.336 GB, free: 5.691 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000976/1.049, allocations: 0.6175 MB / 1.337 GB, free: 5.066 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.708e-05/1.049, allocations: 45.7 kB / 1.337 GB, free: 5.016 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/1.049, allocations: 392.4 kB / 1.337 GB, free: 4.625 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002548/1.049, allocations: 252.3 kB / 1.338 GB, free: 4.375 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002676/1.05, allocations: 166.5 kB / 1.338 GB, free: 4.207 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.05, allocations: 386.7 kB / 1.338 GB, free: 3.82 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/1.05, allocations: 265.8 kB / 1.338 GB, free: 3.559 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006376/1.051, allocations: 351.1 kB / 1.339 GB, free: 3.203 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.052, allocations: 0.6033 MB / 1.339 GB, free: 2.59 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.052, allocations: 0 / 1.339 GB, free: 2.59 MB / 1.061 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002083/1.054, allocations: 0.8448 MB / 1.34 GB, free: 1.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.054, allocations: 7.938 kB / 1.34 GB, free: 1.723 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.054, allocations: 4 kB / 1.34 GB, free: 1.719 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006465/1.055, allocations: 84.86 kB / 1.34 GB, free: 1.633 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/1.056, allocations: 159.8 kB / 1.34 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.058, allocations: 1.63 MB / 1.342 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/1.059, allocations: 103.4 kB / 1.342 GB, free: 15.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.059, allocations: 27.98 kB / 1.342 GB, free: 15.57 MB / 1.076 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.0005467/1.06, allocations: 275.5 kB / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/1.06, allocations: 82.97 kB / 1.342 GB, free: 15.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/1.062, allocations: 1.038 MB / 1.343 GB, free: 14.15 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/1.062, allocations: 12 kB / 1.343 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/1.062, allocations: 4 kB / 1.343 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/1.063, allocations: 11.91 kB / 1.344 GB, free: 14.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003447/1.066, allocations: 1.896 MB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.066, allocations: 0 / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/1.067, allocations: 139.8 kB / 1.345 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/1.067, allocations: 72.78 kB / 1.346 GB, free: 11.96 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/1.067, allocations: 27.98 kB / 1.346 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/1.069, allocations: 1.666 MB / 1.347 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.069, allocations: 0 / 1.347 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/1.071, allocations: 0.9862 MB / 1.348 GB, free: 9.117 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/1.072, allocations: 267.8 kB / 1.348 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/1.072, allocations: 27.98 kB / 1.348 GB, free: 8.809 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007197/1.073, allocations: 55.94 kB / 1.349 GB, free: 8.754 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.073, allocations: 68.91 kB / 1.349 GB, free: 8.688 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.057e-05/1.073, allocations: 39.97 kB / 1.349 GB, free: 8.648 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006876/1.074, allocations: 451 kB / 1.349 GB, free: 8.211 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/1.074, allocations: 0 / 1.349 GB, free: 8.211 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001044/1.075, allocations: 319.2 kB / 1.349 GB, free: 7.898 MB / 1.076 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.001514/1.076, allocations: 0.6023 MB / 1.35 GB, free: 7.457 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.078, allocations: 0.8234 MB / 1.351 GB, free: 6.621 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.078, allocations: 0 / 1.351 GB, free: 6.621 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.079, allocations: 0.5121 MB / 1.351 GB, free: 6.094 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/1.081, allocations: 305.5 kB / 1.352 GB, free: 5.82 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/1.084, allocations: 1.645 MB / 1.353 GB, free: 4.145 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/1.085, allocations: 1.015 MB / 1.354 GB, free: 3.102 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/1.085, allocations: 119.4 kB / 1.354 GB, free: 2.984 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/1.085, allocations: 0 / 1.354 GB, free: 2.984 MB / 1.076 GB Notification: Performance of Templates: time 0.02676/1.112, allocations: 18.31 MB / 1.372 GB, free: 0.6914 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches