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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001047/0.001051, allocations: 91.84 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 182.1 kB / 16.92 MB, free: 6.652 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.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.742/2.742, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004046, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7804/0.7808, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005964/0.7868, allocations: 4.379 MB / 1.028 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1778/0.9646, allocations: 146.7 MB / 1.171 GB, free: 8.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.9657, allocations: 15.88 kB / 1.171 GB, free: 8.234 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007673/0.9664, allocations: 146.8 kB / 1.171 GB, free: 8.09 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/0.9686, allocations: 477.2 kB / 1.172 GB, free: 7.625 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.9709, allocations: 0.708 MB / 1.173 GB, free: 6.922 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002002/0.9729, allocations: 1.276 MB / 1.174 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.9742, allocations: 0.5375 MB / 1.174 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007582/0.9749, allocations: 342.4 kB / 1.175 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007603/0.9757, allocations: 381.9 kB / 1.175 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001966/0.9759, allocations: 24 kB / 1.175 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.977, allocations: 375.6 kB / 1.175 GB, free: 3.984 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002978/0.9773, allocations: 183.2 kB / 1.176 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.9779, allocations: 470.8 kB / 1.176 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.9795, allocations: 1.157 MB / 1.177 GB, free: 2.176 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.9795, allocations: 0 / 1.177 GB, free: 2.176 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9795, allocations: 4 kB / 1.177 GB, free: 2.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.272e-05/0.9795, allocations: 0 / 1.177 GB, free: 2.172 MB / 0.92 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.002275/0.9818, allocations: 1.2 MB / 1.178 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9819, allocations: 12.03 kB / 1.178 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008804/0.9827, allocations: 191.5 kB / 1.178 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.9838, allocations: 0.7342 MB / 1.179 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/0.9839, allocations: 66 kB / 1.179 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.984, allocations: 76 kB / 1.179 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.9855, allocations: 0.9105 MB / 1.18 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.9856, allocations: 0 / 1.18 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.129e-05/0.9857, allocations: 36 kB / 1.18 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/0.9857, allocations: 24 kB / 1.18 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/0.9875, allocations: 1.1 MB / 1.181 GB, free: 13.69 MB / 0.9356 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.004023/0.9915, allocations: 2.714 MB / 1.184 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/0.9931, allocations: 0.8678 MB / 1.185 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005675/0.9937, allocations: 307.8 kB / 1.185 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.435e-05/0.9938, allocations: 36.53 kB / 1.185 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.9949, allocations: 495.1 kB / 1.186 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 4.659e-06/0.9949, allocations: 0 / 1.186 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003473/0.9984, allocations: 1.201 MB / 1.187 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/0.9985, allocations: 188.6 kB / 1.187 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009471/0.9995, allocations: 0.6215 MB / 1.188 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/0.9996, allocations: 37.7 kB / 1.188 GB, free: 7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/1, allocations: 396.2 kB / 1.188 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1, allocations: 256.4 kB / 1.188 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1, allocations: 65.69 kB / 1.188 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002275/1.001, allocations: 390.7 kB / 1.189 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/1.001, allocations: 269.8 kB / 1.189 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006393/1.002, allocations: 367 kB / 1.189 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/1.003, allocations: 0.6111 MB / 1.19 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.003, allocations: 0 / 1.19 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001878/1.005, allocations: 0.841 MB / 1.191 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/1.005, allocations: 8 kB / 1.191 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.005, allocations: 0 / 1.191 GB, free: 3.777 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006051/1.005, allocations: 84.86 kB / 1.191 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/1.006, allocations: 159.8 kB / 1.191 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.008, allocations: 1.531 MB / 1.192 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007327/1.009, allocations: 99.39 kB / 1.193 GB, free: 1.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.848e-05/1.009, allocations: 39.97 kB / 1.193 GB, free: 1.723 MB / 0.9356 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.000506/1.01, allocations: 268 kB / 1.193 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.01, allocations: 82.91 kB / 1.193 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/1.012, allocations: 1.062 MB / 1.194 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.012, allocations: 8 kB / 1.194 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/1.012, allocations: 0 / 1.194 GB, free: 288 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.012, allocations: 7.984 kB / 1.194 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/1.016, allocations: 1.92 MB / 1.196 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.016, allocations: 0 / 1.196 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/1.016, allocations: 147.7 kB / 1.196 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/1.017, allocations: 84.77 kB / 1.196 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.059e-05/1.017, allocations: 27.98 kB / 1.196 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001952/1.019, allocations: 1.532 MB / 1.198 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.019, allocations: 0 / 1.198 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/1.021, allocations: 0.996 MB / 1.199 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004175/1.021, allocations: 291.6 kB / 1.199 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.021, allocations: 16 kB / 1.199 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007117/1.022, allocations: 79.84 kB / 1.199 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/1.022, allocations: 80.77 kB / 1.199 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/1.022, allocations: 35.97 kB / 1.199 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006343/1.023, allocations: 455 kB / 1.199 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/1.023, allocations: 3.938 kB / 1.199 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001014/1.024, allocations: 315.3 kB / 1.2 GB, free: 10.09 MB / 0.9512 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.00157/1.026, allocations: 0.604 MB / 1.2 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.027, allocations: 0.8313 MB / 1.201 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.027, allocations: 3.984 kB / 1.201 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009654/1.028, allocations: 0.5081 MB / 1.202 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/1.03, allocations: 272.3 kB / 1.202 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003614/1.033, allocations: 2.091 MB / 1.204 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007199/1.034, allocations: 1.012 MB / 1.205 GB, free: 4.871 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/1.034, allocations: 119.4 kB / 1.205 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of SimCode: time 9.51e-07/1.034, allocations: 0 / 1.205 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of Templates: time 0.02926/1.064, allocations: 18.1 MB / 1.223 GB, free: 2.703 MB / 0.9669 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