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.001933/0.001933, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002213/0.002213, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.542/1.542, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.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.806/2.806, allocations: 437 MB / 0.71 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.89 kB / 0.8686 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7587, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007377/0.7662, allocations: 4.807 MB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.9508, allocations: 148.3 MB / 1.166 GB, free: 9.133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008001/0.9516, allocations: 23.88 kB / 1.166 GB, free: 9.109 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006077/0.9522, allocations: 142.9 kB / 1.166 GB, free: 8.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.9539, allocations: 483.9 kB / 1.167 GB, free: 8.496 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.9558, allocations: 0.7102 MB / 1.167 GB, free: 7.793 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.9574, allocations: 1.269 MB / 1.169 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008876/0.9583, allocations: 0.5556 MB / 1.169 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006873/0.959, allocations: 410.3 kB / 1.17 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005979/0.9596, allocations: 469.8 kB / 1.17 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.9597, allocations: 56 kB / 1.17 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009272/0.9606, allocations: 399.6 kB / 1.17 GB, free: 4.637 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.9609, allocations: 231.1 kB / 1.171 GB, free: 4.41 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.9614, allocations: 0.4894 MB / 1.171 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.9632, allocations: 1.515 MB / 1.173 GB, free: 2.398 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9632, allocations: 3.938 kB / 1.173 GB, free: 2.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9632, allocations: 4 kB / 1.173 GB, free: 2.391 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.9632, allocations: 0 / 1.173 GB, free: 2.391 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.002824/0.966, allocations: 1.414 MB / 1.174 GB, free: 0.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.9661, allocations: 12.03 kB / 1.174 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.9671, allocations: 175.4 kB / 1.174 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.9683, allocations: 0.7305 MB / 1.175 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/0.9684, allocations: 69.94 kB / 1.175 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.9685, allocations: 76 kB / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.9702, allocations: 0.9067 MB / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.9702, allocations: 0 / 1.176 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-05/0.9703, allocations: 40 kB / 1.176 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.9703, allocations: 20 kB / 1.176 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/0.9723, allocations: 1.093 MB / 1.177 GB, free: 13.72 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.004401/0.9767, allocations: 2.681 MB / 1.18 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.9784, allocations: 0.8629 MB / 1.181 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006063/0.979, allocations: 302.3 kB / 1.181 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.639e-05/0.9791, allocations: 32.59 kB / 1.181 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.9802, allocations: 499 kB / 1.181 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=79): time 2.384e-06/0.9802, allocations: 0 / 1.181 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=79): time 0.003537/0.9837, allocations: 1.182 MB / 1.183 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.9839, allocations: 188.6 kB / 1.183 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/0.9848, allocations: 0.6252 MB / 1.183 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.9848, allocations: 37.7 kB / 1.183 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.9852, allocations: 400.4 kB / 1.184 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002364/0.9854, allocations: 256.3 kB / 1.184 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.9857, allocations: 166.5 kB / 1.184 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.9859, allocations: 382.7 kB / 1.184 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.9865, allocations: 261.9 kB / 1.185 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006958/0.9872, allocations: 363.1 kB / 1.185 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.9885, allocations: 0.5955 MB / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.9885, allocations: 0 / 1.186 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002137/0.9906, allocations: 0.8411 MB / 1.186 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.9907, allocations: 11.97 kB / 1.186 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.9907, allocations: 0 / 1.186 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006469/0.9913, allocations: 84.72 kB / 1.187 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.992, allocations: 159.8 kB / 1.187 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.9943, allocations: 1.524 MB / 1.188 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008531/0.9952, allocations: 95.38 kB / 1.188 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.934e-05/0.9953, allocations: 31.98 kB / 1.188 GB, free: 1.766 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.0006189/0.9959, allocations: 271.5 kB / 1.189 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.9961, allocations: 83 kB / 1.189 GB, free: 1.41 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.9987, allocations: 1.05 MB / 1.19 GB, free: 348 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.9988, allocations: 16 kB / 1.19 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.9988, allocations: 0 / 1.19 GB, free: 332 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.9988, allocations: 7.969 kB / 1.19 GB, free: 324 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003517/1.002, allocations: 1.899 MB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.002, allocations: 0 / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006021/1.003, allocations: 143.8 kB / 1.192 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005439/1.003, allocations: 84.7 kB / 1.192 GB, free: 14.13 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/1.004, allocations: 23.98 kB / 1.192 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/1.006, allocations: 1.548 MB / 1.193 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.006, allocations: 0 / 1.193 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/1.008, allocations: 0.9843 MB / 1.194 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/1.008, allocations: 271.7 kB / 1.195 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/1.009, allocations: 16 kB / 1.195 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/1.009, allocations: 71.98 kB / 1.195 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.01, allocations: 68.84 kB / 1.195 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/1.01, allocations: 39.97 kB / 1.195 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006985/1.01, allocations: 451 kB / 1.195 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.01, allocations: 0 / 1.195 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001018/1.011, allocations: 323.2 kB / 1.195 GB, free: 10.19 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.002096/1.013, allocations: 0.6037 MB / 1.196 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001912/1.015, allocations: 0.8118 MB / 1.197 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.015, allocations: 7.938 kB / 1.197 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.016, allocations: 0.5083 MB / 1.197 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.018, allocations: 281.3 kB / 1.198 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003629/1.022, allocations: 2.016 MB / 1.2 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007648/1.022, allocations: 1.016 MB / 1.201 GB, free: 5.055 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001029/1.023, allocations: 258.5 kB / 1.201 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/1.024, allocations: 107.4 kB / 1.201 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/1.024, allocations: 0 / 1.201 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of Templates: time 0.02866/1.052, allocations: 14.3 MB / 1.215 GB, free: 6.555 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=400 -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/jenkins/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